Specifies the type of socket an instance of the
System.Net.Sockets.Socket class represents.
[
Edit]
Remarks
Members
Member Name | Description |
---|
Dgram | Supports datagrams, which are connectionless, unreliable
messages of a fixed (typically small) maximum length. Uses the User Datagram
Protocol (ProtocolType.Udp ) protocol
and the AddressFamily.InterNetwork address family.
[Edit]
|
Raw | Supports access to the underlying
transport protocol. Can communicate through protocols other than ProtocolType.Tcp and ProtocolType.Udp,
such as Internet Control Message Protocol (ProtocolType.Icmp) and Internet Group Management
Protocol (ProtocolType.Igmp).
[Edit]
|
Rdm | Supports message-oriented, reliably delivered messages, and preserves message
boundaries in data.
[Edit]
|
Seqpacket | Supports message-oriented, sequenced packets.
[Edit]
|
Stream | Supports reliable, two-way, connection-based byte
streams with an out-of-band (OOB) data transmission mechanism. Uses the Transmission
Control Protocol (ProtocolType.Tcp) protocol and the AddressFamily.InterNetwork address family.
[Edit]
|
Unknown | Unknown socket type.
[Edit]
|
Requirements
Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0