HP-UX Reference (11i v3 07/02) - 3 Library Functions N-Z (vol 7)
s
smfi_settimeout(3N) smfi_settimeout(3N)
NAME
smfi_settimeout() - sets the sendmail connection timeout value of a filter
SYNOPSIS
#include <libmilter/mfapi.h>
int smfi_settimeout(
int
otimeout
);
PARAMETERS
otimeout Specifies the number of seconds to wait before timing out a socket. The otimeout value must be
greater than 0 (zero) second.
Note: A timeout value of 0 (zero) second means not to wait indefinitely.
DESCRIPTION
The smfi_settimeout()
routine sets number of seconds after which the
libmilter must close a
socket connection before timing out a socket. If
smfi_settimeout()
is not called, a default timeout
value of 7210 seconds is used.
The
smfi_settimeout()
routine must be called only before calling the smfi_main() function.
RETURN VALUE
smfi_settimeout()
always returns MI_SUCCESS .
AUTHOR
smfi_settimeout()
was developed by the Sendmail Inc.
SEE ASLO
smfi_main(3N), smfi_setconn(3N), smfi_register(3N), smfi_opensocket(3N), smfi_setbacklog(3N),
smfi_setdbg(3N), smfi_stop(3N).
Sendmail 8.13.3 Programmer’s Guide on
docs.hp.com .
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 455