The members of System.Net.Sockets.TcpClient are listed below.
See Also: Inherited members from System.Object
Initializes a new instance of the System.Net.Sockets.TcpClient class. | ||
Initializes a new instance of the System.Net.Sockets.TcpClient class and binds it to the specified local endpoint. | ||
Initializes a new instance of the System.Net.Sockets.TcpClient class with the specified family. | ||
Initializes a new instance of the System.Net.Sockets.TcpClient class and connects to the specified port on the specified host. |
| [read-only] | Available | int.
Gets the amount of data that has been received from the network and is available to be read. |
| Client | Socket.
Gets or sets the underlying System.Net.Sockets.Socket. | |
| [read-only] | Connected | bool.
Gets a value indicating whether the underlying System.Net.Sockets.Socket for a System.Net.Sockets.TcpClient is connected to a remote host. |
| ExclusiveAddressUse | bool.
Gets or sets a bool value that specifies whether the System.Net.Sockets.TcpClient allows only one client to use a port. | |
| LingerState | LingerOption.
Gets or sets information about the linger state of the associated socket. | |
| NoDelay | bool.
Gets or sets a value that disables a delay when send or receive buffers are not full. | |
| ReceiveBufferSize | int.
Gets or sets the size of the receive buffer. | |
| ReceiveTimeout | int.
Gets or sets the amount of time a System.Net.Sockets.TcpClient will wait to receive data once a read operation is initiated. | |
| SendBufferSize | int.
Gets or sets the size of the send buffer. | |
| SendTimeout | int.
Gets or sets the amount of time a System.Net.Sockets.TcpClient will wait for a send operation to complete successfully. |
BeginConnect(System.Net.IPAddress, int, AsyncCallback, object)
| ||
BeginConnect(System.Net.IPAddress[], int, AsyncCallback, object)
| ||
BeginConnect(string, int, AsyncCallback, object)
| ||
Close()
| ||
Connect(System.Net.IPEndPoint)
| ||
Connect(System.Net.IPAddress, int)
| ||
Connect(System.Net.IPAddress[], int)
| ||
Connect(string, int)
| ||
ConnectAsync(System.Net.IPAddress, int)
| ||
ConnectAsync(System.Net.IPAddress[], int)
| ||
ConnectAsync(string, int)
| ||
EndConnect(IAsyncResult)
| ||
Finalize()
| ||
GetStream()
| ||
Dispose(bool)
| ||
| IDisposable.Dispose |
Releases all resources used by the System.Net.Sockets.TcpClient. |