2 // System.Net.Sockets.IOControlCode.cs
5 // Dick Porter (dick@ximian.com)
7 // (C) Copyright 2006 Novell, Inc (http://www.novell.com)
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 namespace System.Net.Sockets
34 public enum IOControlCode: long
36 AbsorbRouterAlert = 0x98000005,
37 AddMulticastGroupOnInterface = 0x9800000A,
38 AddressListChange = 0x28000017,
39 AddressListQuery = 0x48000016,
40 AddressListSort = 0xC8000019,
41 AssociateHandle = 0x88000001,
43 BindToInterface = 0x98000008,
44 DataToRead = 0x4004667F,
45 DeleteMulticastGroupFromInterface = 0x9800000B,
46 EnableCircularQueuing = 0x28000002,
48 GetBroadcastAddress = 0x48000005,
49 GetExtensionFunctionPointer = 0xC8000006,
50 GetGroupQos = 0xC8000008,
52 KeepAliveValues = 0x98000004,
53 LimitBroadcasts = 0x98000007,
54 MulticastInterface = 0x98000009,
55 MulticastScope = 0x8800000A,
56 MultipointLoopback = 0x88000009,
57 NamespaceChange = 0x88000019,
58 NonBlockingIO = 0x8004667E,
59 OobDataRead = 0x40047307,
60 QueryTargetPnpHandle = 0x48000018,
61 ReceiveAll = 0x98000001,
62 ReceiveAllIgmpMulticast = 0x98000003,
63 ReceiveAllMulticast = 0x98000002,
64 RoutingInterfaceChange = 0x88000015,
65 RoutingInterfaceQuery = 0xC8000014,
66 SetGroupQos = 0x8800000C,
68 TranslateHandle = 0xC800000D,
69 UnicastInterface = 0x98000006,