System.Net.Sockets.TcpClient: Property Members

The properties of System.Net.Sockets.TcpClient are listed below. For a list of all members, see the TcpClient Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
Availableint.

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

ClientSocket.

Gets or sets the underlying System.Net.Sockets.Socket.

[read-only]
Connectedbool.

Gets a value indicating whether the underlying System.Net.Sockets.Socket for a System.Net.Sockets.TcpClient is connected to a remote host.

ExclusiveAddressUsebool.

Gets or sets a bool value that specifies whether the System.Net.Sockets.TcpClient allows only one client to use a port.

LingerStateLingerOption.

Gets or sets information about the linger state of the associated socket.

NoDelaybool.

Gets or sets a value that disables a delay when send or receive buffers are not full.

ReceiveBufferSizeint.

Gets or sets the size of the receive buffer.

ReceiveTimeoutint.

Gets or sets the amount of time a System.Net.Sockets.TcpClient will wait to receive data once a read operation is initiated.

SendBufferSizeint.

Gets or sets the size of the send buffer.

SendTimeoutint.

Gets or sets the amount of time a System.Net.Sockets.TcpClient will wait for a send operation to complete successfully.

Protected Properties

Activebool.

Gets or set a value that indicates whether a connection has been made.