The members of System.Net.Sockets.TcpClient are listed below.
See Also: Inherited members from System.Object
Public Constructors
| | Constructs a new TcpClient with no connection set up. |
| | Constructs a new TcpClient with a specified local endpoint. Use this if you want to have your connections originating from a certain port, or a certain IP (on a multi homed system).
|
| | Documentation for this section has not yet been entered. |
| | Constructs a new TcpClient and connects to a specified host on a specified port. A quick way to set up a network connection. |
Public Properties
[read-only] | Available | int. Documentation for this section has not yet been entered. |
| Client | Socket. The System.Net.Sockets.Socket that all network communications passes through. |
[read-only] | Connected | bool. Documentation for this section has not yet been entered. |
| ExclusiveAddressUse | bool. Documentation for this section has not yet been entered. |
| LingerState | LingerOption. If set, the socket will remain open after it has been instructed to close, in order to send data that remains in the buffer. |
| NoDelay | bool. If set, outbound data will be sent at once rather than collected until enough is available to fill a packet. This is the TCP_NODELAY sockopt from BSD sockets and WinSock. For more information, look up the Nagle algorithm. |
| ReceiveBufferSize | int. How big the receive buffer is (from the connection socket). |
| ReceiveTimeout | int. How long before the socket will time out on a Receive() call. |
| SendBufferSize | int. How big the send buffer is (from the connection socket). |
| SendTimeout | int. How long before the socket will time out on a Send() call. |
Protected Properties
| Active | bool. A flag that is 'true' if the TcpClient has an active connection |
Public Methods
| BeginConnect(System.Net.IPAddress, int, AsyncCallback, object) : IAsyncResultDocumentation for this section has not yet been entered. |
| BeginConnect(System.Net.IPAddress[], int, AsyncCallback, object) : IAsyncResultDocumentation for this section has not yet been entered. |
| BeginConnect(string, int, AsyncCallback, object) : IAsyncResultDocumentation for this section has not yet been entered. |
| Close()Closes the socket and disposes of all managed resources. Throws System.Net.Sockets.SocketException if something goes wrong while closing the socket. |
| Connect(System.Net.IPEndPoint)Connects to a specified remote endpoint. |
| Connect(System.Net.IPAddress, int)Connects to an IP address on a port. |
| Connect(System.Net.IPAddress[], int)Documentation for this section has not yet been entered. |
| Connect(string, int)Resolves a fully qualified domain name to an IP address and connects to it on a specified port. |
| EndConnect(IAsyncResult)Documentation for this section has not yet been entered. |
| Finalize()Documentation for this section has not yet been entered. |
| GetStream() : NetworkStreamGets the System.Net.Sockets.NetworkStream object connected to the connection socket. |
Protected Methods
Explicitly Implemented Interface Members