Method | Description | |
---|---|---|
Close ( ) : void |
Closes the TCP connection.
|
|
Connect ( |
Connects the client to a remote TCP host using the specified IP address and port number.
|
|
Connect ( |
Connects the client to a remote TCP host using the specified remote network endpoint.
|
|
Connect ( string hostname, int port ) : void |
Connects the client to the specified port on the specified host.
|
|
GetStream ( ) : Org.Mentalis.Security.Ssl.SecureNetworkStream |
Returns the stream used to send and receive data.
|
|
SecureTcpClient ( ) : System |
Initializes a new instance of the SecureTcpClient class. The default constructor initializes a new SecureTcpClient. You must call the Connect method to establish a remote host connection. |
|
SecureTcpClient ( |
Initializes a new instance of SecureTcpClient bound to the specified local endpoint.
|
|
SecureTcpClient ( |
Initializes a new instance of SecureTcpClient bound to the specified local endpoint.
|
|
SecureTcpClient ( |
Create a new SecureTcpClient based on an existing one.
|
|
SecureTcpClient ( Org.Mentalis.Security.Ssl.SecurityOptions options ) : System |
Initializes a new instance of the SecureTcpClient class.
|
|
SecureTcpClient ( string hostname, int port ) : System |
Initializes a new instance of the SecureTcpClient class and connects to the specified port on the specified host.
|
|
SecureTcpClient ( string hostname, int port, Org.Mentalis.Security.Ssl.SecurityOptions options ) : System |
Initializes a new instance of the SecureTcpClient class and connects to the specified port on the specified host.
|
Method | Description | |
---|---|---|
Dispose ( ) : void |
Releases the unmanaged resources used by the SecureTcpClient and optionally releases the managed resources.
|
Method | Description | |
---|---|---|
SecureTcpClient ( |
Initializes a new instance of SecureTcpClient. This constructor is used by the SecureTcpListener class. |
public Connect ( |
||
address | The IP address of the host to which you intend to connect. | |
port | int | The port number to which you intend to connect. |
return | void |
public Connect ( |
||
remoteEP | The IP endpoint to which you intend to connect. | |
return | void |
public Connect ( string hostname, int port ) : void | ||
hostname | string | The DNS name of the remote host to which you intend to connect. |
port | int | The port number of the remote host to which you intend to connect. |
return | void |
public GetStream ( ) : Org.Mentalis.Security.Ssl.SecureNetworkStream | ||
return | Org.Mentalis.Security.Ssl.SecureNetworkStream |
public SecureTcpClient ( |
||
localEP | The IPEndPoint to which you bind the TCP Socket. | |
return | System |
public SecureTcpClient ( |
||
localEP | The IPEndPoint to which you bind the TCP Socket. | |
options | Org.Mentalis.Security.Ssl.SecurityOptions | The security options to use. |
return | System |
public SecureTcpClient ( |
||
client | The SecureTcpClient to copy from. | |
return | System |
public SecureTcpClient ( Org.Mentalis.Security.Ssl.SecurityOptions options ) : System | ||
options | Org.Mentalis.Security.Ssl.SecurityOptions | The security options to use. |
return | System |
public SecureTcpClient ( string hostname, int port ) : System | ||
hostname | string | DNS name of the remote host to which you intend to connect. |
port | int | Port number of the remote host to which you intend to connect. |
return | System |
public SecureTcpClient ( string hostname, int port, Org.Mentalis.Security.Ssl.SecurityOptions options ) : System | ||
hostname | string | DNS name of the remote host to which you intend to connect. |
port | int | Port number of the remote host to which you intend to connect. |
options | Org.Mentalis.Security.Ssl.SecurityOptions | The security options to use. |
return | System |