WebSocketServer Constructor (IPAddress, Int32, Boolean)
Initializes a new instance of the WebSocketServer class with
the specified address, port,
and secure.
Namespace:
WebSocketSharp.ServerAssembly: C-DEngine (in C-DEngine.dll)
Syntax
Parameters
- address
- Type: IPAddress
A [System.Net.IPAddress] that represents the local IP address of the server.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | address is nullNothingnullptra null reference (Nothing in Visual Basic). |
ArgumentException | address isn't a local IP address. |
ArgumentOutOfRangeException | port isn't between 1 and 65535 inclusive. |