System.Net.Sockets Namespace

Provides types for bidirectional, interprocess communication over a network.

Classes

Name Description
Public Class NetworkStream Provides the underlying stream of data for network access.
Public Class Socket Creates and configures sockets for network communications.
Public Class SocketException The exception that is thrown by Socket and Dns objects when a network error occurs.

Enumerations

Name Description
Public Enumeration AddressFamily Specifies the addressing scheme that is used to resolve an address.
Public Enumeration ProtocolFamily Specifies the type of protocol that a Socket object uses to resolve an address.
Public Enumeration ProtocolType Specifies the communications protocol that a Socket object uses to transfer data.
Public Enumeration SelectMode Specifies the polling modes, which are used by the Socket.Poll method.
Public Enumeration SocketError Specifies error codes for the Socket class.
Public Enumeration SocketFlags Specifies values that control a socket's behavior for sending and receiving data.
Public Enumeration SocketOptionLevel Specifies the protocol to which a socket configuration option (specified by the SocketOptionName enumeration) applies.
Public Enumeration SocketOptionName Specifies the configuration options that control the behavior of a socket.
Public Enumeration SocketType Specifies the socket type, which defines the capabilities of a socket that is used in network communications.