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
enum IOControlCode
Specifies the IO control codes supported by the <see cref="M:System.Net.Sockets.Socket.IOControl(System.Int32,System.Byte[],System.Byte[])" /> method.
struct IPPacketInformation
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@)" /> .
enum IPProtectionLevel
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.
class IPv6MulticastOption
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.
class MulticastOption
Contains <see cref="T:System.Net.IPAddress" /> values used to join and drop multicast groups.
class NetworkStream
Provides the underlying stream of data for network access.
enum ProtocolFamily
Specifies the type of protocol that an instance of the <see cref="T:System.Net.Sockets.Socket" /> class can use.
enum ProtocolType
Specifies the protocols that the <see cref="T:System.Net.Sockets.Socket" /> class supports.
class SafeSocketHandle
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.
class SendPacketsElement
Represents an element in a <see cref="T:System.Net.Sockets.SendPacketsElement" /> array.
class Socket
Implements the Berkeley sockets interface.
class SocketAsyncEventArgs
Represents an asynchronous socket operation.
enum SocketAsyncOperation
The type of asynchronous socket operation most recently performed with this context object.
enum SocketFlags
Specifies socket send and receive behaviors.
struct SocketInformation
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" /> .
enum SocketOptionLevel
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.
enum SocketOptionName
Defines configuration option names.
struct SocketReceiveFromResult
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.
enum SocketShutdown
Defines constants that are used by the <see cref="M:System.Net.Sockets.Socket.Shutdown(System.Net.Sockets.SocketShutdown)" /> method.
class SocketTaskExtensions
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.
enum TransmitFileOptions
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.
struct UdpReceiveResult
Presents UDP receive result information from a call to the <see cref="M:System.Net.Sockets.UdpClient.ReceiveAsync" /> method.
class UnixDomainSocketEndPoint
Represents a Unix Domain Socket endpoint as a path.