group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
NetworkConfig Struct Reference

Runtime network connection parameters. More...

#include <NetworkConfig.hpp>

Public Attributes

std::string host = "127.0.0.1"
 Server hostname or IP address.
 
uint16_t port = 9999
 Server TCP port.
 

Detailed Description

Runtime network connection parameters.

Populated by loadNetworkConfig(). If the config file is absent or a key is missing, the field retains its default value — no exception is thrown.

Member Data Documentation

◆ host

std::string NetworkConfig::host = "127.0.0.1"

Server hostname or IP address.

◆ port

uint16_t NetworkConfig::port = 9999

Server TCP port.


The documentation for this struct was generated from the following file: