public enum ProtocolType
Object
ValueType
Enum
ProtocolType
System
Networking
Specifies the protocols used by the Socket class.
The ProtocolType enumeration is used with the Socket class. This enumeration specifies the protocols that a socket instance can use to transport data.
System.Net.Sockets Namespace
ProtocolType Fields
ProtocolType.Ggp Field
ProtocolType.IP Field
ProtocolType.Icmp Field
ProtocolType.Idp Field
ProtocolType.Igmp Field
ProtocolType.Ipx Field
ProtocolType.ND Field
ProtocolType.Pup Field
ProtocolType.Raw Field
ProtocolType.Spx Field
ProtocolType.SpxII Field
ProtocolType.Tcp Field
ProtocolType.Udp Field
ProtocolType.Unknown Field
ProtocolType.Unspecified Field
ProtocolType.value__ Field
Ggp = 3;
Specifies the Gateway To Gateway Protocol.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
IP = 0;
Specifies the Internet Protocol (IP) as defined by IETF RFC 791, 792, 919, 922, and 1112.[Note: Multiple names are defined for this value based on prior art. This value is identical to System.Net.Sockets.ProtocolType.Unspecified.
]
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Icmp = 1;
Specifies the Internet Control Message Protocol (ICMP) as defined by IETF RFC 1792.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Idp = 22;
Specifies the Inter-Domain Policy Protocol (IDP) as defined by IETF RFC 1764.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Igmp = 2;
Specifies the Internet Group Management Protocol (IGMP) as defined by IETF RFC 2236.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Ipx = 1000;
Specifies the Internetwork Packet Exchange Protocol.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
ND = 77;
Specifies the Net Disk Protocol.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Pup = 12;
Specifies the Xerox Post Office Update Protocol.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Raw = 255;
Specifies the Raw IP packet protocol.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Spx = 1256;
Specifies the Sequenced Packet Exchange Protocol.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
SpxII = 1257;
Specifies the Sequenced Packet Exchange Version 2 Protocol.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Tcp = 6;
Specifies the Transmission Control Protocol (TCP) as defined by IETF RFC 793.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Udp = 17;
Specifies the User Datagram Protocol (UDP) as defined by IETF RFC 768.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Unknown = -1;
Used to indicate an uninitialized state. This member is not to be used when constructing instances of the Socket class.
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
Unspecified = 0;
Unspecified protocol.[Note: Multiple names are defined for this value based on prior art. This value is identical to System.Net.Sockets.ProtocolType.IP.
]
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace
value__;
System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace