TcpTextClient Methods |
The TcpTextClient type exposes the following members.
Name | Description | |
---|---|---|
BeginConnect(IPEndPoint, Boolean) |
Begins an asynchronous request for a remote server connection.
| |
BeginConnect(String, Int32) |
Begins an asynchronous request for a remote server connection. You can use BeginConnectSSL(String, Int32) when SSL connection is needed.
| |
BeginConnect(String, Int32, Boolean) |
Begins an asynchronous request for a remote server connection.
| |
BeginConnect(String, Int32, Boolean, AsyncCallback) |
Begins an asynchronous request for a remote server connection.
| |
BeginConnectSSL(String, Int32) |
Begins an asynchronous request for a remote server secure connection using SSL.
| |
BeginConnectSSL(String, Int32, AsyncCallback) |
Begins an asynchronous request for a remote server secure connection using SSL.
| |
Connect(IPEndPoint, Boolean) |
Connects to server.
| |
Connect(String, Int32) |
Connects to server. Use ConnectSSL(String, Int32) when SSL connection is needed.
| |
Connect(IPAddress, Int32, Boolean) |
Connects to server.
| |
Connect(String, Int32, Boolean) |
Connects to server.
| |
ConnectSSL |
Connects to server using SSL.
| |
Dispose |
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
| |
Dispose(Boolean) |
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
| |
EndConnect |
Ends a pending asynchronous connection request.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetServerGreeting |
Override this function to get server's greeting.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
KeepAliveTcp |
Sets TCP protocol keep alive (SO_KEEPALIVE) option on.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Send |
Sends the text command to server.
Adds "\r\n" to the command.
| |
SendAsync |
Sends the text command to server.
Adds "\r\n" to the command.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |