hpux man page for smfi_opensocket

Query: smfi_opensocket

OS: hpux

Section: 3n

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

smfi_opensocket(3N)													       smfi_opensocket(3N)

NAME
smfi_opensocket() - attempts to create the interface socket that MTAs use to connect to the filter
SYNOPSIS
PARAMETERS
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 o The interface socket is not created. o When rmsocket is true, either the socket is not examined or the socket exists and cannot be removed. o The routine is not called.
AUTHOR
The routine was developed was the Sendmail Inc.
SEE ALSO
smfi_main(3N), smfi_register(3N), smfi_setconn(3N), smfi_settimeout(3N), smfi_setbacklog(3N), smfi_setdbg(3N), smfi_stop(3N). on smfi_opensocket(3N)
Related Man Pages
smfi_register(3n) - hpux
smfi_setconn(3n) - hpux
smfi_stop(3n) - hpux
rapi_getfd(3) - osf1
socket_set_nonblock(3) - php
Similar Topics in the Unix Linux Community
Socket++ library problem.
Store file into a buffer to send it through a socket
Error with socket operation on non-socket
socket programming
D-Bus: Failed to connect to socket