Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Silverlight
System.Net.Sockets
Collapse All/Expand All Collapse All
.NET Framework Class Library for Silverlight
System.Net.Sockets Namespace

The System.Net.Sockets namespace provides a managed implementation of the sockets networking interface for developers who need to tightly control access to the network. On Windows, the System.Net.Sockets namespace provides a managed implementation of the Windows Sockets (Winsock) interface. On Apple Mac OS X, the System.Net.Sockets namespace provides a managed implementation of the sockets interface based on Berkeley Software Distribution (BSD) UNIX.

The System.Net.Sockets namespace provides a mechanism for real-time duplex communication with remote network resources and enables higher-level APIs to communicate over a bi-directional transport. This also allows an application to interoperate as a client with existing TCP services. For more information, see Working with Sockets.

The System.Net.Sockets namespace in Silverlight 4 has added support for UDP multicast clients. For more information, see Working with Multicast.

Silverlight for Windows Phone For additional socket methods for Windows Phone, see SocketExtensions.

  ClassDescription
Public classSocketImplements the Berkeley sockets interface.
Public classSocketAsyncEventArgsRepresents an asynchronous socket operation.
Public classSocketExceptionThe exception that is thrown when a socket error occurs.
Public classUdpAnySourceMulticastClientA client receiver for multicast traffic from any source, also known as Any Source Multicast (ASM) or Internet Standard Multicast (ISM).
Public classUdpSingleSourceMulticastClientA client receiver for multicast traffic from a single source, also known as Source Specific Multicast (SSM).
  EnumerationDescription
Public enumerationAddressFamilySpecifies the addressing scheme that an instance of the Socket class can use.
Public enumerationProtocolTypeSpecifies the protocol that the Socket class supports.
Public enumerationSocketAsyncOperationThe type of asynchronous socket operation most recently performed with this object.
Public enumerationSocketClientAccessPolicyProtocolSpecifies the method to download the policy file that an instance of the Socket class will use.
Public enumerationSocketErrorDefines error codes for the Socket class.
Public enumerationSocketShutdownDefines constants that are used by the Socket..::.Shutdown method.
Public enumerationSocketTypeSpecifies the type of socket that an instance of the Socket class represents.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker