Mentalis.org Security Library documentation

SecureTcpClient Constructor (IPEndPoint, SecurityOptions)

Initializes a new instance of SecureTcpClient bound to the specified local endpoint.

[Visual Basic]
Overloads Public Sub New( _
   ByVal localEP As IPEndPoint, _
   ByVal options As SecurityOptions _
)
[C#]
public SecureTcpClient(
   IPEndPoint localEP,
   SecurityOptions options
);

Parameters

localEP
The IPEndPoint to which you bind the TCP Socket.
options
The security options to use.

Exceptions

Exception TypeCondition
ArgumentNullExceptionlocalEP is null (Nothing in Visual Basic).
SocketExceptionAn operating system error occurs while accessing the Socket.

See Also

SecureTcpClient Class | SecureTcpClient Members | Org.Mentalis.Security.Ssl Namespace | SecureTcpClient Constructor Overload List