2 <HEAD><TITLE>smfi_setbacklog
</TITLE></HEAD>
5 $Id: smfi_setbacklog.html,v 1.6 2006/12/21 18:30:35 ca Exp $
7 <H1>smfi_setbacklog
</H1>
9 <TABLE border=
"0" cellspacing=
4 cellpadding=
4>
10 <!---------- Synopsis ----------->
11 <TR><TH valign=
"top" align=left width=
100>SYNOPSIS
</TH><TD>
13 #include
<libmilter/mfapi.h
>
18 Set the filter's
<CODE>listen(
2)
</CODE> backlog value.
21 <!----------- Description ---------->
22 <TR><TH valign=
"top" align=left
>DESCRIPTION
</TH><TD>
23 <TABLE border=
"1" cellspacing=
1 cellpadding=
4>
24 <TR align=
"left" valign=top
>
25 <TH width=
"80">Called When
</TH>
26 <TD>smfi_setbacklog should only be called before
<A href=
"smfi_main.html">smfi_main
</A>.
</TD>
28 <TR align=
"left" valign=top
>
29 <TH width=
"80">Effects
</TH>
30 <TD>Sets the incoming socket backlog used by
<CODE>listen(
2)
</CODE>.
31 If smfi_setbacklog is not called, the operating system default is used.
</TD>
35 <!----------- Arguments ---------->
36 <TR><TH valign=
"top" align=left
>ARGUMENTS
</TH><TD>
37 <TABLE border=
"1" cellspacing=
0>
38 <TR bgcolor=
"#dddddd"><TH>Argument
</TH><TH>Description
</TH></TR>
39 <TR valign=
"top"><TD>obacklog
</TD>
40 <TD>The number of incoming connections to allow in the listen queue.
45 <!----------- Return values ---------->
47 <TH valign=
"top" align=left
>RETURN VALUES
</TH>
49 <TD>smfi_setbacklog returns MI_FAILURE if obacklog is less than or equal
57 Copyright (c)
2002-
2003 Sendmail, Inc. and its suppliers.
60 By using this file, you agree to the terms and conditions set