Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > S

smfi_settimeout(3N)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.