LumiSoft Net Help
Connect Method (host, port, ssl)
NamespacesLumiSoft.Net.TCPTCP_ClientConnect(String, Int32, Boolean)
Connects to the specified host. If the hostname resolves to more than one IP address, all IP addresses will be tried for connection, until one of them connects.
Declaration Syntax
C#Visual BasicVisual C++F#
public void Connect(
	string host,
	int port,
	bool ssl
)
Public Sub Connect ( 
	host As String,
	port As Integer,
	ssl As Boolean
)
public:
void Connect(
	String^ host, 
	int port, 
	bool ssl
)
member Connect : 
        host : string * 
        port : int * 
        ssl : bool -> unit 
Parameters
host (String)
Host name or IP address.
port (Int32)
Port to connect.
ssl (Boolean)
Specifies if connects to SSL end point.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when TCP client is already connected.
ArgumentExceptionIs raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119