Table of Contents

Enum ProtocolType

Namespace
System.Net.Sockets
Assembly
System.Net.dll

Specifies the protocols that the Socket class supports.

public enum ProtocolType

Fields

Ggp = 3

Gateway To Gateway Protocol.

IP = 0

Internet Protocol.

IPSecAuthenticationHeader = 51

IPv6 Authentication header. For details, see RFC 2292 section 2.2.1, available at http://www.ietf.org.

IPSecEncapsulatingSecurityPayload = 50

IPv6 Encapsulating Security Payload header.

IPv4 = 4

Internet Protocol version 4.

IPv6 = 41

Internet Protocol version 6 (IPv6).

IPv6DestinationOptions = 60

IPv6 Destination Options header.

IPv6FragmentHeader = 44

IPv6 Fragment header.

IPv6HopByHopOptions = 0

Pv6 Hop by Hop Options header.

IPv6NoNextHeader = 59

IPv6 No next header.

IPv6RoutingHeader = 43

IPv6 Routing header.

Icmp = 1

Internet Control Message Protocol.

IcmpV6 = 58

Internet Control Message Protocol for IPv6.

Idp = 22

Internet Datagram Protocol.

Igmp = 2

Internet Group Management Protocol.

Ipx = 1000

Internet Packet Exchange Protocol.

ND = 77

Net Disk Protocol (unofficial).

Pup = 12

PARC Universal Packet Protocol.

Raw = 255

Raw IP packet protocol.

Spx = 1256

Sequenced Packet Exchange protocol.

SpxII = 1257

Sequenced Packet Exchange version 2 protocol.

Tcp = 6

Transmission Control Protocol.

Udp = 17

User Datagram Protocol.

Unknown = -1

Unknown protocol.

Unspecified = 0

Unspecified protocol.