TcpClient Methods
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | BeginConnect(IPAddress^, Int32, AsyncCallback^, Object^) | |
![]() | BeginConnect(array<IPAddress^>^, Int32, AsyncCallback^, Object^) | |
![]() | BeginConnect(String^, Int32, AsyncCallback^, Object^) | |
![]() | Close() | Disposes this TcpClient instance and requests that the underlying TCP connection be closed. |
![]() | Connect(IPAddress^, Int32) | Connects the client to a remote TCP host using the specified IP address and port number. |
![]() | Connect(array<IPAddress^>^, Int32) | Connects the client to a remote TCP host using the specified IP addresses and port number. |
![]() | Connect(IPEndPoint^) | Connects the client to a remote TCP host using the specified remote network endpoint. |
![]() | Connect(String^, Int32) | Connects the client to the specified port on the specified host. |
![]() | ConnectAsync(IPAddress^, Int32) | Connects the client to a remote TCP host using the specified IP address and port number as an asynchronous operation. |
![]() | ConnectAsync(array<IPAddress^>^, Int32) | Connects the client to a remote TCP host using the specified IP addresses and port number as an asynchronous operation. |
![]() | ConnectAsync(String^, Int32) | Connects the client to the specified TCP port on the specified host as an asynchronous operation. |
![]() | Dispose() | Releases the managed and unmanaged resources used by the TcpClient. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the TcpClient and optionally releases the managed resources. |
![]() | EndConnect(IAsyncResult^) | Ends a pending asynchronous connection attempt. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Frees resources used by the TcpClient class.(Overrides Object::Finalize().) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetStream() | Returns the NetworkStream used to send and receive data. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |

