Name
SocketType
Synopsis
This enumeration contains the names for the type of socket that is created.
public enum SocketType { Stream = 1, Dgram = 2, Raw = 3, Rdm = 4, Seqpacket = 5, Unknown = -1 }
Hierarchy
System.Object
→
System.ValueType
→
System.Enum(System.IComparable
,
System.IFormattable
, System.IConvertible)
→
SocketType
Returned By
Socket.SocketType
Passed To
Socket.Socket( )
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.