| 
| enum   | AddressFamily {  
  Unknown = -1
, Unspecified
, Unix
, InterNetwork
,  
  ImpLink
, Pup
, Chaos
, NS
,  
  Ipx = 6
, Iso
, Osi = 7
, Ecma
,  
  DataKit
, Ccitt
, Sna
, DecNet
,  
  DataLink
, Lat
, HyperChannel
, AppleTalk
,  
  NetBios
, VoiceView
, FireFox
, Banyan = 21
,  
  Atm
, InterNetworkV6
, Cluster
, Ieee12844
,  
  Irda
, NetworkDesigners = 28
, Max
 
 } | 
|   | 
| enum   | IOControlCode : long {  
  AsyncIO = 2147772029L
, NonBlockingIO
, DataToRead = 1074030207L
, OobDataRead = 1074033415L
,  
  AssociateHandle = 2281701377L
, EnableCircularQueuing = 671088642L
, Flush = 671088644L
, GetBroadcastAddress = 1207959557L
,  
  GetExtensionFunctionPointer = 3355443206L
, GetQos
, GetGroupQos
, MultipointLoopback = 2281701385L
,  
  MulticastScope
, SetQos
, SetGroupQos
, TranslateHandle = 3355443213L
,  
  RoutingInterfaceQuery = 3355443220L
, RoutingInterfaceChange = 2281701397L
, AddressListQuery = 1207959574L
, AddressListChange = 671088663L
,  
  QueryTargetPnpHandle = 1207959576L
, NamespaceChange = 2281701401L
, AddressListSort = 3355443225L
, ReceiveAll = 2550136833L
,  
  ReceiveAllMulticast
, ReceiveAllIgmpMulticast
, KeepAliveValues
, AbsorbRouterAlert
,  
  UnicastInterface
, LimitBroadcasts
, BindToInterface
, MulticastInterface
,  
  AddMulticastGroupOnInterface
, DeleteMulticastGroupFromInterface
 
 } | 
|   | 
| enum   | IPProtectionLevel { Unspecified = -1
, Unrestricted = 10
, EdgeRestricted = 20
, Restricted = 30
 } | 
|   | 
| enum   | ProtocolType {  
  IP
, IPv6HopByHopOptions = 0
, Icmp
, Igmp
,  
  Ggp
, IPv4
, Tcp = 6
, Pup = 12
,  
  Udp = 17
, Idp = 22
, IPv6 = 41
, IPv6RoutingHeader = 43
,  
  IPv6FragmentHeader
, IPSecEncapsulatingSecurityPayload = 50
, IPSecAuthenticationHeader
, IcmpV6 = 58
,  
  IPv6NoNextHeader
, IPv6DestinationOptions
, ND = 77
, Raw = 255
,  
  Unspecified = 0
, Ipx = 1000
, Spx = 1256
, SpxII
,  
  Unknown = -1
 
 } | 
|   | 
| enum   | SelectMode { SelectRead
, SelectWrite
, SelectError
 } | 
|   | 
| enum   | SocketAsyncOperation {  
  None
, Accept
, Connect
, Disconnect
,  
  Receive
, ReceiveFrom
, ReceiveMessageFrom
, Send
,  
  SendPackets
, SendTo
 
 } | 
|   | 
| enum   | SocketError {  
  Success
, SocketError = -1
, Interrupted = 10004
, AccessDenied = 10013
,  
  Fault
, InvalidArgument = 10022
, TooManyOpenSockets = 10024
, WouldBlock = 10035
,  
  InProgress
, AlreadyInProgress
, NotSocket
, DestinationAddressRequired
,  
  MessageSize
, ProtocolType
, ProtocolOption
, ProtocolNotSupported
,  
  SocketNotSupported
, OperationNotSupported
, ProtocolFamilyNotSupported
, AddressFamilyNotSupported
,  
  AddressAlreadyInUse
, AddressNotAvailable
, NetworkDown
, NetworkUnreachable
,  
  NetworkReset
, ConnectionAborted
, ConnectionReset
, NoBufferSpaceAvailable
,  
  IsConnected
, NotConnected
, Shutdown
, TimedOut = 10060
,  
  ConnectionRefused
, HostDown = 10064
, HostUnreachable
, ProcessLimit = 10067
,  
  SystemNotReady = 10091
, VersionNotSupported
, NotInitialized
, Disconnecting = 10101
,  
  TypeNotFound = 10109
, HostNotFound = 11001
, TryAgain
, NoRecovery
,  
  NoData
, IOPending = 997
, OperationAborted = 995
 
 } | 
|   | 
| enum   | SocketFlags {  
  None = 0
, OutOfBand = 1
, Peek = 2
, DontRoute = 4
,  
  MaxIOVectorLength = 16
, Truncated = 256
, ControlDataTruncated = 512
, Broadcast = 1024
,  
  Multicast = 2048
, Partial = 32768
 
 } | 
|   | 
| enum   | SocketOperation {  
  Accept
, Connect
, Receive
, ReceiveFrom
,  
  Send
, SendTo
, RecvJustCallback
, SendJustCallback
,  
  Disconnect
, AcceptReceive
, ReceiveGeneric
, SendGeneric
 
 } | 
|   | 
| enum   | SocketOptionLevel {  
  Socket = 65535
, IP = 0
, IPv6 = 41
, Tcp = 6
,  
  Udp = 17
 
 } | 
|   | 
| enum   | SocketOptionName {  
  Debug = 1
, AcceptConnection
, ReuseAddress = 4
, KeepAlive = 8
,  
  DontRoute = 16
, Broadcast = 32
, UseLoopback = 64
, Linger = 128
,  
  OutOfBandInline = 256
, DontLinger = -129
, ExclusiveAddressUse = -5
, SendBuffer = 4097
,  
  ReceiveBuffer
, SendLowWater
, ReceiveLowWater
, SendTimeout
,  
  ReceiveTimeout
, Error
, Type
, ReuseUnicastPort = 12295
,  
  MaxConnections = 2147483647
, IPOptions = 1
, HeaderIncluded
, TypeOfService
,  
  IpTimeToLive
, MulticastInterface = 9
, MulticastTimeToLive
, MulticastLoopback
,  
  AddMembership
, DropMembership
, DontFragment
, AddSourceMembership
,  
  DropSourceMembership
, BlockSource
, UnblockSource
, PacketInformation
,  
  HopLimit = 21
, IPProtectionLevel = 23
, IPv6Only = 27
, NoDelay = 1
,  
  BsdUrgent
, Expedited = 2
, NoChecksum = 1
, ChecksumCoverage = 20
,  
  UpdateAcceptContext = 28683
, UpdateConnectContext = 28688
 
 } | 
|   | 
| enum   | SocketShutdown { Receive
, Send
, Both
 } | 
|   | 
| enum   | SocketType {  
  Stream = 1
, Dgram
, Raw
, Rdm
,  
  Seqpacket
, Unknown = -1
 
 } | 
|   |