[ Team LiB ] Previous Section Next Section

ProtocolTypeCF 1.0, ECMA 1.0, serializable

System.Net.Sockets (system.dll)enum

This enumeration contains settings for the protocol type of a socket. A protocol type must be specified for every Socket instance.

public enum ProtocolType {
   Unspecified = 0,
   IP = 0,
   Icmp = 1,
   Igmp = 2,
   Ggp = 3,
   Tcp = 6,
   Pup = 12,
   Udp = 17,
   Idp = 22,
   IPv6 = 41,
   ND = 77,
   Raw = 255,
   Ipx = 1000,
   Spx = 1256,
   SpxII = 1257,
   Unknown = -1
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ProtocolType

Returned By

Socket.ProtocolType

Passed To

Socket.Socket( )

    [ Team LiB ] Previous Section Next Section