#include <network_config.hpp>
|
static constexpr const char * | identifier = "network" |
|
|
std::chrono::microseconds::rep | m_default_socket_io_wait_time {10'000} |
|
std::size_t | m_default_packet_size {4096} |
|
Class to hold networking-related configuration values.
- Author
- Timothy Flynn (trfly.nosp@m.nn89.nosp@m.@pm.m.nosp@m.e)
- Version
- March 6, 2021
◆ packet_size()
std::size_t fly::net::NetworkConfig::packet_size |
( |
| ) |
const |
- Returns
- Size of packet to use for socket IO operations.
◆ socket_io_wait_time()
std::chrono::microseconds fly::net::NetworkConfig::socket_io_wait_time |
( |
| ) |
const |
- Returns
- Sleep time for socket polling sequence.
The documentation for this class was generated from the following files: