LumiSoft Net Help
Connect Method (host, port)
NamespacesLumiSoft.Net.TCPTCP_ClientConnect(String, Int32)
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
)
Public Sub Connect ( 
	host As String,
	port As Integer
)
public:
void Connect(
	String^ host, 
	int port
)
member Connect : 
        host : string * 
        port : int -> unit 
Parameters
host (String)
Host name or IP address.
port (Int32)
Port to connect.
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