System.Net.Sockets Namespace
Provides managed implementations of the Windows Sockets API.
Namespace: System.Net.Sockets
Assembly: System.Net.Sockets.dll
Socket
Provides a managed implementation of the socket API.
public class Socket
SocketAsyncEventArgs
Represents the state of an asynchronous socket operation.
public class SocketAsyncEventArgs
TcpClient
Provides client connections for TCP/IP network services.
public class TcpClient
TcpListener
Listens for incoming TCP connections.
public class TcpListener
UdpClient
Provides UDP network services.
public class UdpClient
NetworkStream
Provides the underlying stream of data for network access.
public class NetworkStream
IListSocket
Represents a generic list of sockets.
public interface IListSocket
ProtocolType
Specifies the protocol used by the socket.
public enum ProtocolType
SocketError
Defines socket error codes.
public enum SocketError
SocketFlags
Specifies socket options.
public enum SocketFlags
SocketOptionLevel
Specifies socket option levels.
public enum SocketOptionLevel
SocketShutdown
Specifies socket shutdown states.
public enum SocketShutdown
EndPoint
Represents an endpoint (address and port) for a network connection.
public struct EndPoint
IPEndPoint
Represents a network endpoint as an IP address and a port number.
public struct IPEndPoint
SocketAddress
Represents the socket address for the Socket class.
public struct SocketAddress