Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

System.Net.Sockets

System Library

Author Microsoft
Version 10.0.1
Tags

Public Types

System.​Net.​Sockets

Specifies the IO control codes supported by the <see cref="M:System.Net.Sockets.Socket.IOControl(System.Int32,System.Byte[],System.Byte[])" /> method.
Presents the packet information from a call to <see cref="M:System.Net.Sockets.Socket.ReceiveMessageFrom(System.Byte[],System.Int32,System.Int32,System.Net.Sockets.SocketFlags@,System.Net.EndPoint@,System.Net.Sockets.IPPacketInformation@)" /> or <see cref="M:System.Net.Sockets.Socket.EndReceiveMessageFrom(System.IAsyncResult,System.Net.Sockets.SocketFlags@,System.Net.EndPoint@,System.Net.Sockets.IPPacketInformation@)" /> .
A value that enables restriction of an IPv6 socket to a specified scope, such as addresses with the same link local or site local prefix.
Contains option values for joining an IPv6 multicast group.
class LingerOption
Specifies whether a <see cref="T:System.Net.Sockets.Socket" /> will remain connected after a call to the <see cref="M:System.Net.Sockets.Socket.Close" /> or <see cref="M:System.Net.Sockets.TcpClient.Close" /> methods and the length of time it will remain connected, if data remains to be sent.
Contains <see cref="T:System.Net.IPAddress" /> values used to join and drop multicast groups.
Provides the underlying stream of data for network access.
Specifies the type of protocol that an instance of the <see cref="T:System.Net.Sockets.Socket" /> class can use.
Specifies the protocols that the <see cref="T:System.Net.Sockets.Socket" /> class supports.
Represents a wrapper class for a socket handle.
enum SelectMode
Defines the polling modes for the <see cref="M:System.Net.Sockets.Socket.Poll(System.Int32,System.Net.Sockets.SelectMode)" /> method.
Represents an element in a <see cref="T:System.Net.Sockets.SendPacketsElement" /> array.
class Socket
Implements the Berkeley sockets interface.
Represents an asynchronous socket operation.
The type of asynchronous socket operation most recently performed with this context object.
Specifies socket send and receive behaviors.
Encapsulates the information that is necessary to duplicate a <see cref="T:System.Net.Sockets.Socket" /> .
Describes states for a <see cref="T:System.Net.Sockets.Socket" /> .
Defines socket option levels for the <see cref="M:System.Net.Sockets.Socket.SetSocketOption(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Int32)" /> and <see cref="M:System.Net.Sockets.Socket.GetSocketOption(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName)" /> methods.
Defines configuration option names.
The result of a <see cref="M:System.Net.Sockets.SocketTaskExtensions.ReceiveFromAsync(System.Net.Sockets.Socket,System.ArraySegment{System.Byte},System.Net.Sockets.SocketFlags,System.Net.EndPoint)" /> operation.
The result of a <see cref="M:System.Net.Sockets.SocketTaskExtensions.ReceiveMessageFromAsync(System.Net.Sockets.Socket,System.ArraySegment{System.Byte},System.Net.Sockets.SocketFlags,System.Net.EndPoint)" /> operation.
Defines constants that are used by the <see cref="M:System.Net.Sockets.Socket.Shutdown(System.Net.Sockets.SocketShutdown)" /> method.
This class contains extension methods to the <see cref="T:System.Net.Sockets.Socket" /> class.
enum SocketType
Specifies the type of socket that an instance of the <see cref="T:System.Net.Sockets.Socket" /> class represents.
class TcpClient
Provides client connections for TCP network services.
class TcpListener
Listens for connections from TCP network clients.
The <see cref="T:System.Net.Sockets.TransmitFileOptions" /> enumeration defines values used in file transfer requests.
class UdpClient
Provides User Datagram Protocol (UDP) network services.
Presents UDP receive result information from a call to the <see cref="M:System.Net.Sockets.UdpClient.ReceiveAsync" /> method.
Represents a Unix Domain Socket endpoint as a path.