Initializes a new instance of the SecureTcpListener class with the specified local endpoint.
[Visual Basic]
Overloads Public Sub New( _
ByVal localEP As IPEndPoint _
)
localEP specifies the local IPEndPoint. This constructor creates an underlying SecureSocket, and binds that SecureSocket to localEP. If you call the Start method, TcpListener will listen for connections on localEP.
Exception Type | Condition |
---|---|
ArgumentNullException | localEP is a null reference (Nothing in Visual Basic). |
SecureTcpListener Class | SecureTcpListener Members | Org.Mentalis.Security.Ssl Namespace | SecureTcpListener Constructor Overload List