Initializes a new instance of the SecureTcpListener class that listens to the specified IP address and port.
[Visual Basic]
Overloads Public Sub New( _
ByVal localaddr As IPAddress, _
ByVal port As Integer _
)
| Exception Type | Condition |
|---|---|
| ArgumentNullException | localaddr is a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | port is not between MinPort and MaxPort. |
SecureTcpListener Class | SecureTcpListener Members | Org.Mentalis.Security.Ssl Namespace | SecureTcpListener Constructor Overload List