ServiceOpenPort Method
Opens the communication port and initializes the device manager with the specified settings.
Namespace: Alteruna.Multiplayer.CoreAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
public void OpenPort(
ushort port = 0,
ushort publishPort = 19090,
bool broadcast = false,
TransportType transportType = TransportType.Default
)
Parameters
- port UInt16 (Optional)
- The port number to open. If set to 0, defaults to the system-assigned port.
- publishPort UInt16 (Optional)
-
- broadcast Boolean (Optional)
-
- transportType TransportType (Optional)
- The transport protocol to be used for communication.