Specifies the type of socket that an instance of the Socket class represents.
Assembly: System.Net (in System.Net.dll)
|A socket type that supports reliable, two-way, connection-based byte streams without the duplication of data and without preservation of boundaries. A Socket of this type communicates with a single peer and requires a remote host connection before communication can begin. This socket type uses the Transmission Control Protocol (Tcp) and the AddressFamily.can be either InterNetwork or InterNetworkV6.|
|An unknown Socket type.|
|Supports datagrams, which are connectionless, unreliable messages of a fixed (typically small) maximum length. Messages might be lost or duplicated and might arrive out of order. A Socket of type requires no connection prior to sending and receiving data, and can communicate with multiple peers. uses the Datagram Protocol (Udp) and the InterNetwork or InterNetworkV6 AddressFamily. Not a supported value for Silverlight for the desktop.|
Before a Socket can send and receive data, it must first be created using an AddressFamily, a , and a ProtocolType. The enumeration provides several options for defining the type of Socket that you intend to open.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.