#include <netinet/in.h>
#include <sys/socket.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <unistd.h>
#include <string_view>
#include "system_state.hpp"
#include "commands.hpp"
#include "SPSCQueue.h"
#include "network.hpp"
#include "serialization.hpp"
#include "gui_error_window.hpp"
#include "zstd.h"
Go to the source code of this file.
|
std::string | network::get_last_error_msg () |
|
void | network::init (sys::state &state) |
|
void | network::write_network_save (sys::state &state) |
|
void | network::broadcast_save_to_clients (sys::state &state, command::payload &c, uint8_t const *buffer, uint32_t length, sys::checksum_key const &k) |
|
void | network::broadcast_to_clients (sys::state &state, command::payload &c) |
|
void | network::send_and_receive_commands (sys::state &state) |
|
void | network::finish (sys::state &state, bool notify_host) |
|
void | network::ban_player (sys::state &state, client_data &client) |
|
void | network::kick_player (sys::state &state, client_data &client) |
|
void | network::switch_player (sys::state &state, dcon::nation_id new_n, dcon::nation_id old_n) |
|
◆ XXH_NAMESPACE
#define XXH_NAMESPACE ZSTD_ |
◆ ZSTD_STATIC_LINKING_ONLY
#define ZSTD_STATIC_LINKING_ONLY |