LumiSoft Net Help
TCP_Client..::..ConnectAsyncOP Constructor (localEP, remoteEP, ssl, certCallback)
NamespacesLumiSoft.Net.TCPTCP_Client..::..ConnectAsyncOPTCP_Client..::..ConnectAsyncOP(IPEndPoint, IPEndPoint, Boolean, RemoteCertificateValidationCallback)
Default constructor.
Declaration Syntax
C#Visual BasicVisual C++F#
public ConnectAsyncOP(
	IPEndPoint localEP,
	IPEndPoint remoteEP,
	bool ssl,
	RemoteCertificateValidationCallback certCallback
)
Public Sub New ( 
	localEP As IPEndPoint,
	remoteEP As IPEndPoint,
	ssl As Boolean,
	certCallback As RemoteCertificateValidationCallback
)
public:
ConnectAsyncOP(
	IPEndPoint^ localEP, 
	IPEndPoint^ remoteEP, 
	bool ssl, 
	RemoteCertificateValidationCallback^ certCallback
)
new : 
        localEP : IPEndPoint * 
        remoteEP : IPEndPoint * 
        ssl : bool * 
        certCallback : RemoteCertificateValidationCallback -> ConnectAsyncOP
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.
certCallback (RemoteCertificateValidationCallback)
SSL server certificate validation callback. Value null means any certificate is accepted.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when remoteEP is null reference.

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