Initializes a new instance of the SecureTcpListener class that listens on the specified port.
[Visual Basic]
Overloads Public Sub New( _
ByVal port As Integer _
)
port specifies the local port number on which you intend to listen. When you call Start, SecureTcpListener uses the default network interface to listen for connections on the specified port.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | port is not between MinPort and MaxPort. |
SecureTcpListener Class | SecureTcpListener Members | Org.Mentalis.Security.Ssl Namespace | SecureTcpListener Constructor Overload List