smfi_opensocket(3N)smfi_opensocket(3N)NAMEsmfi_opensocket() - attempts to create the interface socket that MTAs
use to connect to the filter
SYNOPSISPARAMETERS
The contains the following parameters:
rmsocket A flag that indicates whether the library must try to remove
any existing UNIX domain socket before attempting to create a
new socket.
DESCRIPTION
The routine is used to create the socket specified previously by a call
to the routine, which is the interface between Mail Transfer Agents
(MTAs) and the filter. The routine allows the calling application to
ensure that the socket can be created. If is not called, the routine
does it implicitly.
The routine is called only from program mainline before calling the
routine.
RETURN VALUE
Following are the possible reasons when the routine fails and returns
· The interface socket is not created.
· When rmsocket is true, either the socket is not examined or the
socket exists and cannot be removed.
· The routine is not called.
AUTHOR
The routine was developed was the Sendmail Inc.
SEE ALSOsmfi_main(3N), smfi_register(3N), smfi_setconn(3N), smfi_settime‐
out(3N), smfi_setbacklog(3N), smfi_setdbg(3N), smfi_stop(3N).
on
smfi_opensocket(3N)