UdpPeer.OpenSocket Method
Namespace: Riptide.Transports.Udp
Assembly: RiptideNetworking.dll
OpenSocket(IPAddress, ushort)
Opens the socket and starts the transport.
protected void OpenSocket(IPAddress listenAddress = null, ushort port = 0)
Parameters
IPAddress | listenAddress |
The IP address to bind the socket to, if any. |
ushort | port |
The port to bind the socket to. |