HP-UX Reference (11i v3 07/02) - 3 Library Functions N-Z (vol 7)

s
smfi_setbacklog(3N) smfi_setbacklog(3N)
NAME
smfi_setbacklog() - sets the listen backlog value of the filter for sendmail
SYNOPSIS
#include <libmilter/mfapi.h>
int smfi_setbacklog(
int
obacklog
);
PARAMETERS
obacklog Specifies the number of incoming connections in the listen queue.
DESCRIPTION
The smfi_setbacklog()
routine sets the incoming socket backlog used by the
listen() function. If
smfi_setbacklog()
is not called, the operating system default is used.
smfi_setbacklog()
must be called only before the smfi_main()
function.
RETURN VALUE
smfi_setbacklog()
returns MI_FAILURE if obacklog is less then or equal to 0 (zero).
AUTHOR
The
smfi_setbacklog()
routine was developed by the Sendmail Inc.
SEE ALSO
smfi_main(3N), smfi_register(3N), smfi_setconn(3N), smfi_settimeout(3N), smfi_opensocket(3N),
smfi_setdbg(3N), smfi_stop(3N).
Sendmail 8.13.3 Programmer’s Guide on
docs.hp.com
.
448 Hewlett-Packard Company 1 HP-UX 11i Version 3: February 2007