Gets or sets the port number on which to listen on.
[Visual Basic]Protected Property Port As Integer
[C#]
protected int Port {get; set;}
Property Value
An integer defining the port number to listen on.
Exceptions
Exception Type | Condition |
---|---|
System.ArgumentException | The specified value is less than or equal to zero. |
See Also
Listener Class | Listener Members | Org.Mentalis.Proxy Namespace | Address