Companion

Contains default configurations for server connection parameters.

This companion object provides constant values used as default configurations for setting up a server connection. These defaults include the server port, host address, and a suspend flag.

These constants are used in the DefaultServerConnectionConfig class to provide an initial configuration unless explicitly overridden.

Properties

Link copied to clipboard

Indicates whether the server should wait for the first incoming connection before proceeding.

Link copied to clipboard
const val DEFAULT_HOST: String

The default hostname or IP address for the server connection.

Link copied to clipboard
const val DEFAULT_PORT: Int = 50881

The default port number the server will listen to. Defaults to 50881.

Link copied to clipboard

The default timeout duration for waiting for the first client connection.