Deleted Added
full compact
smfi_setbacklog.html (132943) smfi_setbacklog.html (168515)
1<html>
2<head><title>smfi_setbacklog</title></head>
3<body>
1<HTML>
2<HEAD><TITLE>smfi_setbacklog</TITLE></HEAD>
3<BODY>
4<!--
4<!--
5$Id: smfi_setbacklog.html,v 1.3 2003/03/05 19:57:54 ca Exp $
5$Id: smfi_setbacklog.html,v 1.6 2006/12/21 18:30:35 ca Exp $
6-->
6-->
7<h1>smfi_setbacklog</h1>
7<H1>smfi_setbacklog</H1>
8
8
9<table border="0" cellspacing=4 cellpadding=4>
9<TABLE border="0" cellspacing=4 cellpadding=4>
10<!---------- Synopsis ----------->
10<!---------- Synopsis ----------->
11<tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
12<pre>
11<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
12<PRE>
13#include &lt;libmilter/mfapi.h&gt;
14int smfi_setbacklog(
15 int obacklog
16);
13#include &lt;libmilter/mfapi.h&gt;
14int smfi_setbacklog(
15 int obacklog
16);
17</pre>
18Set the filter's listen backlog value.
19</td></tr>
17</PRE>
18Set the filter's <CODE>listen(2)</CODE> backlog value.
19</TD></TR>
20
21<!----------- Description ---------->
20
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>
27</tr>
28<tr align="left" valign=top>
29<th width="80">Effects</th>
30<td>Sets the incoming socket backlog used by listen(). If smfi_setbacklog is not called, the operating system default is used.</td>
31</tr>
32</table>
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>
27</TR>
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>.
31If smfi_setbacklog is not called, the operating system default is used.</TD>
32</TR>
33</TABLE>
33
34<!----------- Arguments ---------->
34
35<!----------- Arguments ---------->
35<tr><th valign="top" align=left>ARGUMENTS</th><td>
36 <table border="1" cellspacing=0>
37 <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
38 <tr valign="top"><td>obacklog</td>
39 <td>The number of incoming connections to allow in the listen queue.
40 </td></tr>
41 </table>
42</td></tr>
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.
41 </TD></TR>
42 </TABLE>
43</TD></TR>
43
44<!----------- Return values ---------->
44
45<!----------- Return values ---------->
45<tr>
46<th valign="top" align=left>RETURN VALUES</th>
46<TR>
47<TH valign="top" align=left>RETURN VALUES</TH>
47
48
48<td>smfi_setbacklog returns MI_FAILURE if obacklog is less than or equal
49to zero.</td>
50</tr>
49<TD>smfi_setbacklog returns MI_FAILURE if obacklog is less than or equal
50to zero.</TD>
51</TR>
51
52
52</table>
53</TABLE>
53
54
54<hr size="1">
55<font size="-1">
55<HR size="1">
56<FONT size="-1">
56Copyright (c) 2002-2003 Sendmail, Inc. and its suppliers.
57All rights reserved.
57Copyright (c) 2002-2003 Sendmail, Inc. and its suppliers.
58All rights reserved.
58<br>
59<BR>
59By using this file, you agree to the terms and conditions set
60forth in the LICENSE.
60By using this file, you agree to the terms and conditions set
61forth in the LICENSE.
61</font>
62</body>
63</html>
62</FONT>
63</BODY>
64</HTML>