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.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
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.