System.Net.Sockets.ProtocolType Enumeration

Specifies the protocols that the System.Net.Sockets.Socket class supports.

Syntax

public enum ProtocolType

Remarks

The System.Net.Sockets.Socket class uses the System.Net.Sockets.ProtocolType enumeration to inform the Windows Sockets API of the requested protocol. Low-level driver software for the requested protocol must be present on the computer for the System.Net.Sockets.Socket to be created successfully.

Members

Member NameDescription
Ggp

Gateway To Gateway Protocol.

Icmp

Internet Control Message Protocol.

IcmpV6

Internet Control Message Protocol for IPv6.

Idp

Internet Datagram Protocol.

Igmp

Internet Group Management Protocol.

IP

Internet Protocol.

IPSecAuthenticationHeader

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

IPSecEncapsulatingSecurityPayload

IPv6 Encapsulating Security Payload header.

IPv4

Internet Protocol version 4.

IPv6

Internet Protocol version 6 (IPv6).

IPv6DestinationOptions

IPv6 Destination Options header.

IPv6FragmentHeader

IPv6 Fragment header.

IPv6HopByHopOptions

IPv6 Hop by Hop Options header.

IPv6NoNextHeader

IPv6 No next header.

IPv6RoutingHeader

IPv6 Routing header.

Ipx

Internet Packet Exchange Protocol.

ND

Net Disk Protocol (unofficial).

Pup

PARC Universal Packet Protocol.

Raw

Raw IP packet protocol.

Spx

Sequenced Packet Exchange protocol.

SpxII

Sequenced Packet Exchange version 2 protocol.

Tcp

Transmission Control Protocol.

Udp

User Datagram Protocol.

Unknown

Unknown protocol.

Unspecified

Unspecified protocol.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0, 4.0.0.0