get_port#

TcpOslServer.get_port() int | None#

Get the port the osl server is listening on.

Returns:
timeout: Optional[int]

The port the osl server is listening on, if applicable. Defaults to None.

Deprecated since version 0.6.0: Use TcpOslServer.port instead.