get_host#

TcpOslServer.get_host() str | None#

Get optiSLang server address or domain name.

Get a string representation of an IPv4/v6 address or domain name of the running optiSLang server.

Returns:
timeout: Optional[str]

The IPv4/v6 address or domain name of the running optiSLang server, if applicable. Defaults to None.

Deprecated since version 0.6.0: Use TcpOslServer.host instead.