System.Net.Sockets Namespace
Provides types for bidirectional, interprocess communication over a network.
Classes
Name | Description | |
---|---|---|
NetworkStream | Provides the underlying stream of data for network access. | |
Socket | Creates and configures sockets for network communications. | |
SocketException | The exception that is thrown by Socket and Dns objects when a network error occurs. |
Enumerations
Name | Description | |
---|---|---|
AddressFamily | Specifies the addressing scheme that is used to resolve an address. | |
ProtocolFamily | Specifies the type of protocol that a Socket object uses to resolve an address. | |
ProtocolType | Specifies the communications protocol that a Socket object uses to transfer data. | |
SelectMode | Specifies the polling modes, which are used by the Socket.Poll method. | |
SocketError | Specifies error codes for the Socket class. | |
SocketFlags | Specifies values that control a socket's behavior for sending and receiving data. | |
SocketOptionLevel | Specifies the protocol to which a socket configuration option (specified by the SocketOptionName enumeration) applies. | |
SocketOptionName | Specifies the configuration options that control the behavior of a socket. | |
SocketType | Specifies the socket type, which defines the capabilities of a socket that is used in network communications. |