Click or drag to resize

ClientBase Methods

The ClientBase type exposes the following members.

Methods
  NameDescription
Public methodAttach(Socket)
Attaches client to specified connected socket.
Public methodAttach(Socket, Boolean)
Attaches client to specified connected socket.
Public methodAttachSSL
Attaches client to specified connected socket.
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/TLS 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/TLS.
Public methodBeginConnectSSL(String, Int32, AsyncCallback)
Begins an asynchronous request for a remote server secure connection using SSL/TLS.
Public methodConnect(IPEndPoint, Boolean)
Establishes connection to a remote server.
Public methodConnect(String, Int32)
Establishes connection to a remote server. You can use ConnectSSL(String, Int32) when SSL/TLS connection is needed.
Public methodConnect(IPAddress, Int32, Boolean)
Establishes connection to a remote server.
Public methodConnect(String, Int32, Boolean)
Establishes connection to a remote server.
Public methodConnectAsync(IPEndPoint, Boolean)
Establishes connection to a remote server.
Public methodConnectAsync(String, Int32)
Establishes connection to a remote server. You can use ConnectSSL(String, Int32) when SSL/TLS connection is needed.
Public methodConnectAsync(IPAddress, Int32, Boolean)
Establishes connection to a remote server.
Public methodConnectAsync(String, Int32, Boolean)
Establishes connection to a remote server.
Public methodConnectSSL
Establishes connection to a remote server using SSL.
Public methodConnectSSLAsync
Establishes connection to a remote 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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSend
Sends specified byte array to the server.
Public methodSendAsync
Sends specified byte array to the server.
Public methodTcpKeepAlive
Turns TCP protocol keep alive (SO_KEEPALIVE) option on.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also