This topic has not yet been rated - Rate this topic

ProtocolType Enumeration

Specifies the protocol that the Socket class supports.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)
public enum ProtocolType
Member name Description
Supported by Silverlight for Windows Phone Tcp The Transmission Control Protocol (TCP).
Supported by Silverlight for Windows Phone Unspecified The protocol type is unspecified.
Supported by Silverlight for Windows Phone Unknown An unknown protocol type.
Supported by Silverlight for Windows Phone Udp The User Datagram Protocol (UDP). This protocol type is not supported on Silverlight for the desktop.

The Socket class uses the ProtocolType enumeration to inform the Windows Sockets API of the requested protocol. Low-level driver software for the requested protocol must be present on the computer for the Socket to be created successfully.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ