System.Net.Sockets.ProtocolType Enum

public enum ProtocolType

Base Types

Object
  ValueType
    Enum
      ProtocolType

Assembly

System

Library

Networking

Summary

Specifies the protocols used by the Socket class.

Description

The ProtocolType enumeration is used with the Socket class. This enumeration specifies the protocols that a socket instance can use to transport data.

See Also

System.Net.Sockets Namespace

Members

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


ProtocolType.Ggp Field

Ggp = 3;

Summary

Specifies the Gateway To Gateway Protocol.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.IP Field

IP = 0;

Summary

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.

]

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Icmp Field

Icmp = 1;

Summary

Specifies the Internet Control Message Protocol (ICMP) as defined by IETF RFC 1792.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Idp Field

Idp = 22;

Summary

Specifies the Inter-Domain Policy Protocol (IDP) as defined by IETF RFC 1764.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Igmp Field

Igmp = 2;

Summary

Specifies the Internet Group Management Protocol (IGMP) as defined by IETF RFC 2236.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Ipx Field

Ipx = 1000;

Summary

Specifies the Internetwork Packet Exchange Protocol.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.ND Field

ND = 77;

Summary

Specifies the Net Disk Protocol.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Pup Field

Pup = 12;

Summary

Specifies the Xerox Post Office Update Protocol.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Raw Field

Raw = 255;

Summary

Specifies the Raw IP packet protocol.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Spx Field

Spx = 1256;

Summary

Specifies the Sequenced Packet Exchange Protocol.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.SpxII Field

SpxII = 1257;

Summary

Specifies the Sequenced Packet Exchange Version 2 Protocol.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Tcp Field

Tcp = 6;

Summary

Specifies the Transmission Control Protocol (TCP) as defined by IETF RFC 793.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Udp Field

Udp = 17;

Summary

Specifies the User Datagram Protocol (UDP) as defined by IETF RFC 768.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Unknown Field

Unknown = -1;

Summary

Used to indicate an uninitialized state. This member is not to be used when constructing instances of the Socket class.

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.Unspecified Field

Unspecified = 0;

Summary

Unspecified protocol.

[Note: Multiple names are defined for this value based on prior art. This value is identical to System.Net.Sockets.ProtocolType.IP.

]

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace

ProtocolType.value__ Field

value__;

See Also

System.Net.Sockets.ProtocolType Enum, System.Net.Sockets Namespace