Export (0) Print
Expand All
3 out of 4 rated this helpful - Rate this topic

ProtocolType Enumeration

Specifies the protocol that the Socket class supports.

Namespace:  System.Net.Sockets
Assembly:  System.Net (in System.Net.dll)
'Declaration
Public Enumeration 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.