Type: String
Specifies the server type to be launched using a shorthand. The server's behavior is determined by this value.
Shorthand
- ctc
: Client-To-Client
- This server type facilitates direct communication between clients. It enables peer-to-peer interactions, where each client connects directly with others without a central server mediation.
- srmc
: Single Room - Multi Client
- This server type supports a single room where multiple clients can connect and interact. All clients in the same room are connected to a centralized server, which handles their communication.
- mrmc(Shutdown)
: Multi Room - Multi Client
- This server type allows multiple rooms, each with multiple clients. Clients can join different rooms, and each room operates independently, with its own set of clients connected to the server.
Type: Integer
Default: 2
Sets the maximum number of clients that can connect to the server at the same time. For ctc
type, this is always fixed to 2.
Type: Integer
Default: 1024
Specifies the size in bytes of the buffer used to receive messages from clients. A larger buffer can improve performance for large data transfers.
Type: Integer
Default: 8192
For HTTP servers, this defines the maximum size in bytes of a single request. Requests larger than this limit will be rejected.
Type: Boolean
Default: false
Enables or disables server logging. When enabled, the server logs connection events, errors, and internal activity to the console or a log file.
Type: Integer
Default: 60
Sets the inactivity timeout in seconds. If a client does not send any data for this period, the server will disconnect it.