1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
7<title>SocketOptionType</title>
8  </head>
9  <body>
10<h1><CODE>nn::socket::SocketOptionType</CODE> Enumerated Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum SocketOptionType;
15</pre>
16    </div>
17<h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22<th>Value</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<th><CODE>IP_TOS</CODE></th>
28<td>The value of an IP header's TOS field (<CODE>int</CODE>).</td>
29        </tr>
30        <tr>
31<th><CODE>IP_TTL</CODE></th>
32<td>The value of an IP header's TTL field (<CODE>int</CODE>).</td>
33        </tr>
34        <tr>
35<th><CODE>IP_MULTICAST_LOOP</CODE></th>
36<td>Loop multicast packets (<CODE>unsigned char</CODE>).</td>
37        </tr>
38        <tr>
39<th><CODE>IP_MULTICAST_TTL</CODE></th>
40<td>The value of a multicast packet's TTL field (<CODE>unsigned char</CODE>).</td>
41        </tr>
42        <tr>
43<th><CODE>IP_ADD_MEMBERSHIP</CODE></th>
44<td>Added a multicast group (&lt;a href=&quot;../../nn/socket/IpMreq/Overview.html&quot;&gt;IpMreq&lt;/a&gt;).</td>
45        </tr>
46        <tr>
47<th><CODE>IP_DROP_MEMBERSHIP</CODE></th>
48<td>Deleted a multicast group (&lt;a href=&quot;../../nn/socket/IpMreq/Overview.html&quot;&gt;IpMreq&lt;/a&gt;).</td>
49        </tr>
50        <tr>
51<th><CODE>SO_REUSEADDR</CODE></th>
52<td>Allow a socket to be reused (<CODE>bool</CODE>).</td>
53        </tr>
54        <tr>
55<th><CODE>SO_LINGER</CODE></th>
56<td>Waiting for TCP disconnection to complete (&lt;a href=&quot;../../nn/socket/Linger/Overview.html&quot;&gt;Linger&lt;/a&gt;).</td>
57        </tr>
58        <tr>
59<th><CODE>SO_OOBINLINE</CODE></th>
60<td>Handle urgent data as online data (<CODE>bool</CODE>).</td>
61        </tr>
62        <tr>
63<th><CODE>SO_SNDBUF</CODE></th>
64<td>Size of the TCP send buffer (<CODE>int</CODE>).</td>
65        </tr>
66        <tr>
67<th><CODE>SO_RCVBUF</CODE></th>
68<td>Size of the TCP receive buffer (<CODE>int</CODE>).</td>
69        </tr>
70        <tr>
71<th><CODE>SO_SNDLOWAT</CODE></th>
72<td>Minimum usable value for the TCP send buffer (<CODE>int</CODE>).</td>
73        </tr>
74        <tr>
75<th><CODE>SO_RCVLOWAT</CODE></th>
76<td>Minimum usable value for the TCP receive buffer (<CODE>int</CODE>).</td>
77        </tr>
78        <tr>
79<th><CODE>SO_TYPE</CODE></th>
80<td>Socket type (<CODE>int</CODE>).</td>
81        </tr>
82        <tr>
83<th><CODE>SO_ERROR</CODE></th>
84<td>Error set in a socket (<CODE>int</CODE>).</td>
85        </tr>
86        <tr>
87<th><CODE>TCP_NODELAY</CODE></th>
88<td>Do not use delayed ACK messages (<CODE>bool</CODE>).</td>
89        </tr>
90        <tr>
91<th><CODE>TCP_MAXSEG</CODE></th>
92<td>TCP MSS value (<CODE>int</CODE>).</td>
93        </tr>
94        <tr>
95<th><CODE>TCP_STDURG</CODE></th>
96<td>Make the TCP urgent pointer conform to the RFC specifications (<CODE>bool</CODE>).</td>
97        </tr>
98        <tr>
99<th><CODE>TCP_R2</CODE></th>
100<td>R2 timer value for TCP (<CODE>int</CODE>).</td>
101        </tr>
102        <tr>
103<th><CODE>TCP_R2_SYN</CODE></th>
104<td>R2 timer value for TCP SYN (<CODE>int</CODE>).</td>
105        </tr>
106      </table> </div>
107<h2>Description</h2>
108    <div class="section">
109<p>Option numbers given to the <a href="../../nn/socket/GetSockOpt.html"><CODE>GetSockOpt</CODE></a> and <a href="../../nn/socket/SetSockOpt.html"><CODE>SetSockOpt</CODE></a> functions.</p><!-- write here --></div>
110<h2>Revision History</h2>
111    <div class="section">
112      <dl class="history">
113        <dt>2010/11/10</dt>
114<dd>Initial version.<br />
115        </dd>
116      </dl>
117    </div>
118  <hr><p>CONFIDENTIAL</p></body>
119</html>