System.Net.Sockets Namespace

 

The System.Net.Sockets namespace provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to tightly control access to the network.

ClassDescription
System_CAPS_pubclassHttpPolicyDownloaderProtocol

Obsolete.Downloads the policy file that an instance of the Socket class will use.

System_CAPS_pubclassIPv6MulticastOption

Contains option values for joining an IPv6 multicast group.

System_CAPS_pubclassLingerOption

Specifies whether a Socket will remain connected after a call to the Close or Close methods and the length of time it will remain connected, if data remains to be sent.

System_CAPS_pubclassMulticastOption

Contains IPAddress values used to join and drop multicast groups.

System_CAPS_pubclassNetworkStream

Provides the underlying stream of data for network access.

System_CAPS_pubclassSendPacketsElement

Represents an element in a SendPacketsElement array.

System_CAPS_pubclassSocket

Implements the Berkeley sockets interface.

System_CAPS_pubclassSocketAsyncEventArgs

Represents an asynchronous socket operation.

System_CAPS_pubclassSocketException

The exception that is thrown when a socket error occurs.

System_CAPS_pubclassSocketPolicy

Obsolete.Represents a policy file instance.

System_CAPS_pubclassTcpClient

Provides client connections for TCP network services.

System_CAPS_pubclassTcpListener

Listens for connections from TCP network clients.

System_CAPS_pubclassUdpAnySourceMulticastClient

Obsolete.A client receiver for multicast traffic from any source, also known as Any Source Multicast (ASM) or Internet Standard Multicast (ISM).

System_CAPS_pubclassUdpClient

Provides User Datagram Protocol (UDP) network services.

System_CAPS_pubclassUdpSingleSourceMulticastClient

Obsolete.A client receiver for multicast traffic from a single source, also known as Source Specific Multicast (SSM).

StructureDescription
System_CAPS_pubstructureIPPacketInformation

Presents the packet information from a call to ReceiveMessageFrom or EndReceiveMessageFrom.

System_CAPS_pubstructureSocketInformation

Encapsulates the information that is necessary to duplicate a Socket.

System_CAPS_pubstructureUdpReceiveResult

Presents UDP receive result information from a call to the ReceiveAsync method.

DelegateDescription
System_CAPS_pubdelegateSecurityCriticalAction

Obsolete.Represents a security critical action.

EnumerationDescription
System_CAPS_pubenumAddressFamily

Specifies the addressing scheme that an instance of the Socket class can use.

System_CAPS_pubenumIOControlCode

Specifies the IO control codes supported by the IOControl method.

System_CAPS_pubenumIPProtectionLevel

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.

System_CAPS_pubenumProtocolFamily

Specifies the type of protocol that an instance of the Socket class can use.

System_CAPS_pubenumProtocolType

Specifies the protocols that the Socket class supports.

System_CAPS_pubenumSelectMode

Defines the polling modes for the Socket.Poll method.

System_CAPS_pubenumSocketAsyncOperation

The type of asynchronous socket operation most recently performed with this context object.

System_CAPS_pubenumSocketClientAccessPolicyProtocol

Obsolete.Specifies the method to download a client access policy file.

System_CAPS_pubenumSocketError

Defines error codes for the Socket class.

System_CAPS_pubenumSocketFlags

Specifies socket send and receive behaviors.

System_CAPS_pubenumSocketInformationOptions

Describes states for a Socket.

System_CAPS_pubenumSocketOptionLevel

Defines socket option levels for the Socket.SetSocketOption and Socket.GetSocketOption methods.

System_CAPS_pubenumSocketOptionName

Defines configuration option names.

System_CAPS_pubenumSocketShutdown

Defines constants that are used by the Socket.Shutdown method.

System_CAPS_pubenumSocketType

Specifies the type of socket that an instance of the Socket class represents.

System_CAPS_pubenumTransmitFileOptions

The TransmitFileOptions enumeration defines values used in file transfer requests.

The TcpClient, TcpListener, and UdpClient classes encapsulate the details of creating TCP and UDP connections to the Internet.

Return to top
Show: