OpenTTD Source
20240919-master-gdf0233f4c2
|
Go to the source code of this file.
Data Structures | |
class | NetworkSocketHandler |
SocketHandler for all network sockets in OpenTTD. More... | |
Enumerations | |
enum | NetworkRecvStatus { NETWORK_RECV_STATUS_OKAY, NETWORK_RECV_STATUS_DESYNC, NETWORK_RECV_STATUS_NEWGRF_MISMATCH, NETWORK_RECV_STATUS_SAVEGAME, NETWORK_RECV_STATUS_CLIENT_QUIT, NETWORK_RECV_STATUS_MALFORMED_PACKET, NETWORK_RECV_STATUS_SERVER_ERROR, NETWORK_RECV_STATUS_SERVER_FULL, NETWORK_RECV_STATUS_SERVER_BANNED, NETWORK_RECV_STATUS_CLOSE_QUERY, NETWORK_RECV_STATUS_CONNECTION_LOST } |
Status of a network client; reasons why a client has quit. More... | |
Functions | |
bool | NetworkCoreInitialize () |
Initializes the network core (as that is needed for some platforms. More... | |
void | NetworkCoreShutdown () |
Shuts down the network core (as that is needed for some platforms. | |
Base for all network types (UDP and TCP)
Definition in file core.h.
enum NetworkRecvStatus |
Status of a network client; reasons why a client has quit.
bool NetworkCoreInitialize | ( | ) |
Initializes the network core (as that is needed for some platforms.
Definition at line 24 of file core.cpp.
References Debug.
Referenced by NetworkStartUp().