Default constructor.
Declaration Syntax
C# | Visual Basic | Visual 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
Exception | Condition |
---|---|
ArgumentNullException | Is raised when remoteEP is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119