**** Merged from MCS ****
[mono-project.git] / mcs / class / System / System.Net.Sockets / SocketOptionName.cs
blobc68b871fbf88c45942553c1364be05340e833731
1 // SocketOptionName.cs
2 //
3 // This code was automatically generated from
4 // ECMA CLI XML Library Specification.
5 // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
6 // Created: Wed, 5 Sep 2001 06:33:02 UTC
7 // Source file: AllTypes.xml
8 // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
9 //
10 // (C) 2001 Ximian, Inc. http://www.ximian.com
13 // Permission is hereby granted, free of charge, to any person obtaining
14 // a copy of this software and associated documentation files (the
15 // "Software"), to deal in the Software without restriction, including
16 // without limitation the rights to use, copy, modify, merge, publish,
17 // distribute, sublicense, and/or sell copies of the Software, and to
18 // permit persons to whom the Software is furnished to do so, subject to
19 // the following conditions:
20 //
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
23 //
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34 namespace System.Net.Sockets {
37 /// <summary>
38 /// </summary>
39 public enum SocketOptionName {
41 /// <summary>
42 /// </summary>
43 Debug = 1,
45 /// <summary>
46 /// </summary>
47 AcceptConnection = 2,
49 /// <summary>
50 /// </summary>
51 ReuseAddress = 4,
53 /// <summary>
54 /// </summary>
55 KeepAlive = 8,
57 /// <summary>
58 /// </summary>
59 DontRoute = 16,
61 /// <summary>
62 /// </summary>
63 Broadcast = 32,
65 /// <summary>
66 /// </summary>
67 UseLoopback = 64,
69 /// <summary>
70 /// </summary>
71 Linger = 128,
73 /// <summary>
74 /// </summary>
75 OutOfBandInline = 256,
77 /// <summary>
78 /// </summary>
79 DontLinger = -129,
81 /// <summary>
82 /// </summary>
83 ExclusiveAddressUse = -5,
85 /// <summary>
86 /// </summary>
87 SendBuffer = 4097,
89 /// <summary>
90 /// </summary>
91 ReceiveBuffer = 4098,
93 /// <summary>
94 /// </summary>
95 SendLowWater = 4099,
97 /// <summary>
98 /// </summary>
99 ReceiveLowWater = 4100,
101 /// <summary>
102 /// </summary>
103 SendTimeout = 4101,
105 /// <summary>
106 /// </summary>
107 ReceiveTimeout = 4102,
109 /// <summary>
110 /// </summary>
111 Error = 4103,
113 /// <summary>
114 /// </summary>
115 Type = 4104,
117 /// <summary>
118 /// </summary>
119 MaxConnections = 2147483647,
121 /// <summary>
122 /// </summary>
123 IPOptions = 1,
125 /// <summary>
126 /// </summary>
127 HeaderIncluded = 2,
129 /// <summary>
130 /// </summary>
131 TypeOfService = 3,
133 /// <summary>
134 /// </summary>
135 IpTimeToLive = 4,
137 /// <summary>
138 /// </summary>
139 MulticastInterface = 9,
141 /// <summary>
142 /// </summary>
143 MulticastTimeToLive = 10,
145 /// <summary>
146 /// </summary>
147 MulticastLoopback = 11,
149 /// <summary>
150 /// </summary>
151 AddMembership = 12,
153 /// <summary>
154 /// </summary>
155 DropMembership = 13,
157 /// <summary>
158 /// </summary>
159 DontFragment = 14,
161 /// <summary>
162 /// </summary>
163 AddSourceMembership = 15,
165 /// <summary>
166 /// </summary>
167 DropSourceMembership = 16,
169 /// <summary>
170 /// </summary>
171 BlockSource = 17,
173 /// <summary>
174 /// </summary>
175 UnblockSource = 18,
177 /// <summary>
178 /// </summary>
179 PacketInformation = 19,
181 /// <summary>
182 /// </summary>
183 NoDelay = 1,
185 /// <summary>
186 /// </summary>
187 BsdUrgent = 2,
189 /// <summary>
190 /// </summary>
191 Expedited = 2,
193 /// <summary>
194 /// </summary>
195 NoChecksum = 1,
197 /// <summary>
198 /// </summary>
199 ChecksumCoverage = 20,
200 } // SocketOptionName
202 } // System.Net.Sockets