This documentation is archived and is not being maintained.

TcpClient Properties

The TcpClient type exposes the following members.

Protected property Active Gets or set a value that indicates whether a connection has been made.
Public property Available Gets the amount of data that has been received from the network and is available to be read.
Public property Client Gets or sets the underlying Socket.
Public property Connected Gets a value indicating whether the underlying Socket for a TcpClient is connected to a remote host.
Public property ExclusiveAddressUse Gets or sets a Boolean value that specifies whether the TcpClient allows only one client to use a port.
Public property LingerState Gets or sets information about the linger state of the associated socket.
Public property NoDelay Gets or sets a value that disables a delay when send or receive buffers are not full.
Public property ReceiveBufferSize Gets or sets the size of the receive buffer.
Public property ReceiveTimeout Gets or sets the amount of time a TcpClient will wait to receive data once a read operation is initiated.
Public property SendBufferSize Gets or sets the size of the send buffer.
Public property SendTimeout Gets or sets the amount of time a TcpClient will wait for a send operation to complete successfully.