 | TcpServer Constructor (IPAddress, Int32) |
Initializes a new instance of the
TcpServer class with the specified local address and port.
Namespace:
Ookii.Jumbo
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntaxprotected TcpServer(
IPAddress[] localAddresses,
int port
)
Protected Sub New (
localAddresses As IPAddress(),
port As Integer
)
protected:
TcpServer(
array<IPAddress^>^ localAddresses,
int port
)
new :
localAddresses : IPAddress[] *
port : int -> TcpServer
Parameters
- localAddresses
- Type: System.NetIPAddress
The local IP address that the server should bind to. - port
- Type: SystemInt32
The port to listen on.
See Also