[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The namespace provides a managed implementation of the sockets networking interface for developers who need to tightly control access to the network. On Windows, the namespace provides a managed implementation of the Windows Sockets (Winsock) interface. On Apple Mac OS X, the namespace provides a managed implementation of the sockets interface based on Berkeley Software Distribution (BSD) UNIX.
The 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.
The namespace in Windows Phone has added support for UDP multicast clients.
For additional socket methods for Windows Phone, see SocketExtensions.
|Socket||Implements the Berkeley sockets interface.|
|SocketAsyncEventArgs||Represents an asynchronous socket operation.|
|SocketException||The exception that is thrown when a socket error occurs.|
|UdpAnySourceMulticastClient||A client receiver for multicast traffic from any source, also known as Any Source Multicast (ASM) or Internet Standard Multicast (ISM).|
|UdpSingleSourceMulticastClient||A client receiver for multicast traffic from a single source, also known as Source Specific Multicast (SSM).|
|AddressFamily||Specifies the addressing scheme that an instance of the Socket class can use.|
|ProtocolType||Specifies the protocol that the Socket class supports.|
|SocketAsyncOperation||The type of asynchronous socket operation most recently performed with this object.|
|SocketError||Defines error codes for the Socket class.|
|SocketShutdown||Defines constants that are used by the Socket.Shutdown method.|
|SocketType||Specifies the type of socket that an instance of the Socket class represents.|