Fix GetConsumingEnumerable exception handling in BlockingCollection
[mono.git] / mcs / class / System / System.Net.Sockets / SocketOptionName.cs
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
11
12 //
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.
31 //
32
33
34 namespace System.Net.Sockets {
35
36
37         /// <summary>
38         /// </summary>
39         public enum SocketOptionName {
40
41                 /// <summary>
42                 /// </summary>
43                 Debug = 1,
44
45                 /// <summary>
46                 /// </summary>
47                 AcceptConnection = 2,
48
49                 /// <summary>
50                 /// </summary>
51                 ReuseAddress = 4,
52
53                 /// <summary>
54                 /// </summary>
55                 KeepAlive = 8,
56
57                 /// <summary>
58                 /// </summary>
59                 DontRoute = 16,
60
61                 /// <summary>
62                 /// </summary>
63                 Broadcast = 32,
64
65                 /// <summary>
66                 /// </summary>
67                 UseLoopback = 64,
68
69                 /// <summary>
70                 /// </summary>
71                 Linger = 128,
72
73                 /// <summary>
74                 /// </summary>
75                 OutOfBandInline = 256,
76
77                 /// <summary>
78                 /// </summary>
79                 DontLinger = -129,
80
81                 /// <summary>
82                 /// </summary>
83                 ExclusiveAddressUse = -5,
84
85                 /// <summary>
86                 /// </summary>
87                 SendBuffer = 4097,
88
89                 /// <summary>
90                 /// </summary>
91                 ReceiveBuffer = 4098,
92
93                 /// <summary>
94                 /// </summary>
95                 SendLowWater = 4099,
96
97                 /// <summary>
98                 /// </summary>
99                 ReceiveLowWater = 4100,
100
101                 /// <summary>
102                 /// </summary>
103                 SendTimeout = 4101,
104
105                 /// <summary>
106                 /// </summary>
107                 ReceiveTimeout = 4102,
108
109                 /// <summary>
110                 /// </summary>
111                 Error = 4103,
112
113                 /// <summary>
114                 /// </summary>
115                 Type = 4104,
116
117                 /// <summary>
118                 /// </summary>
119                 MaxConnections = 2147483647,
120
121                 /// <summary>
122                 /// </summary>
123                 IPOptions = 1,
124
125                 /// <summary>
126                 /// </summary>
127                 HeaderIncluded = 2,
128
129                 /// <summary>
130                 /// </summary>
131                 TypeOfService = 3,
132
133                 /// <summary>
134                 /// </summary>
135                 IpTimeToLive = 4,
136
137                 /// <summary>
138                 /// </summary>
139                 MulticastInterface = 9,
140
141                 /// <summary>
142                 /// </summary>
143                 MulticastTimeToLive = 10,
144
145                 /// <summary>
146                 /// </summary>
147                 MulticastLoopback = 11,
148
149                 /// <summary>
150                 /// </summary>
151                 AddMembership = 12,
152
153                 /// <summary>
154                 /// </summary>
155                 DropMembership = 13,
156
157                 /// <summary>
158                 /// </summary>
159                 DontFragment = 14,
160
161                 /// <summary>
162                 /// </summary>
163                 AddSourceMembership = 15,
164
165                 /// <summary>
166                 /// </summary>
167                 DropSourceMembership = 16,
168
169                 /// <summary>
170                 /// </summary>
171                 BlockSource = 17,
172
173                 /// <summary>
174                 /// </summary>
175                 UnblockSource = 18,
176
177                 /// <summary>
178                 /// </summary>
179                 PacketInformation = 19,
180
181                 /// <summary>
182                 /// </summary>
183                 NoDelay = 1,
184
185                 /// <summary>
186                 /// </summary>
187                 BsdUrgent = 2,
188
189                 /// <summary>
190                 /// </summary>
191                 Expedited = 2,
192
193                 /// <summary>
194                 /// </summary>
195                 NoChecksum = 1,
196
197                 /// <summary>
198                 /// </summary>
199                 ChecksumCoverage = 20,
200
201 #if NET_2_0
202                 HopLimit = 21,
203                 UpdateAcceptContext = 28683,
204                 UpdateConnectContext = 28688,
205 #endif
206
207         } // SocketOptionName
208
209 } // System.Net.Sockets