Click or drag to resize

TcpTextClient Methods

The TcpTextClient type exposes the following members.

Methods
 NameDescription
Public methodBeginConnect(IPEndPoint, Boolean) Begins an asynchronous request for a remote server connection.
Public methodBeginConnect(String, Int32) Begins an asynchronous request for a remote server connection. You can use BeginConnectSSL(String, Int32) when SSL connection is needed.
Public methodBeginConnect(String, Int32, Boolean) Begins an asynchronous request for a remote server connection.
Public methodBeginConnect(String, Int32, Boolean, AsyncCallback) Begins an asynchronous request for a remote server connection.
Public methodBeginConnectSSL(String, Int32) Begins an asynchronous request for a remote server secure connection using SSL.
Public methodBeginConnectSSL(String, Int32, AsyncCallback) Begins an asynchronous request for a remote server secure connection using SSL.
Public methodConnect(IPEndPoint, Boolean) Connects to server.
Public methodConnect(String, Int32) Connects to server. Use ConnectSSL(String, Int32) when SSL connection is needed.
Public methodConnect(IPAddress, Int32, Boolean) Connects to server.
Public methodConnect(String, Int32, Boolean) Connects to server.
Public methodConnectSSL Connects to server using SSL.
Public methodDispose Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
Protected methodDispose(Boolean) Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
Public methodEndConnect Ends a pending asynchronous connection request.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetServerGreeting Override this function to get server's greeting.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodKeepAliveTcp Sets TCP protocol keep alive (SO_KEEPALIVE) option on.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSend Sends the text command to server. Adds "\r\n" to the command.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also