LumiSoft Net Help
Connect Method (localEP, remoteEP, ssl)
NamespacesLumiSoft.Net.TCPTCP_ClientConnect(IPEndPoint, IPEndPoint, Boolean)
Connects to the specified remote end point.
Declaration Syntax
C#Visual BasicVisual C++F#
public void Connect(
	IPEndPoint localEP,
	IPEndPoint remoteEP,
	bool ssl
)
Public Sub Connect ( 
	localEP As IPEndPoint,
	remoteEP As IPEndPoint,
	ssl As Boolean
)
public:
void Connect(
	IPEndPoint^ localEP, 
	IPEndPoint^ remoteEP, 
	bool ssl
)
member Connect : 
        localEP : IPEndPoint * 
        remoteEP : IPEndPoint * 
        ssl : bool -> unit 
Parameters
localEP (IPEndPoint)
Local IP end point to use. Value null means that system will allocate it.
remoteEP (IPEndPoint)
Remote IP end point to connect.
ssl (Boolean)
Specifies if connection switches to SSL affter connect.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
InvalidOperationExceptionIs raised when TCP client is already connected.
ArgumentNullExceptionIs raised when remoteEP is null reference.

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