Export (0) Print
Expand All

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 nameDescription
Supported by Silverlight for Windows PhoneTcpThe Transmission Control Protocol (TCP).
Supported by Silverlight for Windows PhoneUnspecifiedThe protocol type is unspecified.
Supported by Silverlight for Windows PhoneUnknownAn unknown protocol type.
Supported by Silverlight for Windows PhoneUdpThe 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.

Community Additions

ADD
Show:
© 2014 Microsoft