Socket Properties

 

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubpropertyAddressFamily

Gets the address family of the Socket.

System_CAPS_pubpropertyAvailable

Gets the amount of data that has been received from the network and is available to be read.

System_CAPS_pubpropertyBlocking

Gets or sets a value that indicates whether the Socket is in blocking mode.

System_CAPS_pubpropertyConnected

Gets a value that indicates whether a Socket is connected to a remote host as of the last Send or Receive operation.

System_CAPS_pubpropertyDontFragment

Gets or sets a Boolean value that specifies whether the Socket allows Internet Protocol (IP) datagrams to be fragmented.

System_CAPS_pubpropertyDualMode

Gets or sets a Boolean value that specifies whether the Socket is a dual-mode socket used for both IPv4 and IPv6.

System_CAPS_pubpropertyEnableBroadcast

Gets or sets a Boolean value that specifies whether the Socket can send or receive broadcast packets.

System_CAPS_pubpropertyExclusiveAddressUse

Gets or sets a Boolean value that specifies whether the Socket allows only one process to bind to a port.

System_CAPS_pubpropertyHandle

Gets the operating system handle for the Socket.

System_CAPS_pubpropertyIsBound

Gets a value that indicates whether the Socket is bound to a specific local port.

System_CAPS_pubpropertyLingerState

Gets or sets a value that specifies whether the Socket will delay closing a socket in an attempt to send all pending data.

System_CAPS_pubpropertyLocalEndPoint

Gets the local endpoint.

System_CAPS_pubpropertyMulticastLoopback

Gets or sets a value that specifies whether outgoing multicast packets are delivered to the sending application.

System_CAPS_pubpropertyNoDelay

Gets or sets a Boolean value that specifies whether the stream Socket is using the Nagle algorithm.

System_CAPS_pubpropertySystem_CAPS_staticOSSupportsIPv4

Indicates whether the underlying operating system and network adaptors support Internet Protocol version 4 (IPv4).

System_CAPS_pubpropertySystem_CAPS_staticOSSupportsIPv6

Indicates whether the underlying operating system and network adaptors support Internet Protocol version 6 (IPv6).

System_CAPS_pubpropertyProtocolType

Gets the protocol type of the Socket.

System_CAPS_pubpropertyReceiveBufferSize

Gets or sets a value that specifies the size of the receive buffer of the Socket.

System_CAPS_pubpropertyReceiveTimeout

Gets or sets a value that specifies the amount of time after which a synchronous Receive call will time out.

System_CAPS_pubpropertyRemoteEndPoint

Gets the remote endpoint.

System_CAPS_pubpropertySendBufferSize

Gets or sets a value that specifies the size of the send buffer of the Socket.

System_CAPS_pubpropertySendTimeout

Gets or sets a value that specifies the amount of time after which a synchronous Send call will time out.

System_CAPS_pubpropertySocketType

Gets the type of the Socket.

System_CAPS_pubpropertySystem_CAPS_staticSupportsIPv4

Obsolete.Gets a value indicating whether IPv4 support is available and enabled on the current host.

System_CAPS_pubpropertySystem_CAPS_staticSupportsIPv6

Obsolete.Gets a value that indicates whether the Framework supports IPv6 for certain obsolete Dns members.

System_CAPS_pubpropertyTtl

Gets or sets a value that specifies the Time To Live (TTL) value of Internet Protocol (IP) packets sent by the Socket.

System_CAPS_pubpropertyUseOnlyOverlappedIO

Specifies whether the socket should only use Overlapped I/O mode.

Return to top
Show: