|
OpenTTD Source 20260911-master-gee2b2ac12a
|
Base for all network types (UDP and TCP). More...
Go to the source code of this file.
Data Structures | |
| class | NetworkSocketHandler |
| SocketHandler for all network sockets in OpenTTD. More... | |
Enumerations | |
| enum class | NetworkRecvStatus : uint8_t { Okay , Desync , NewGRFMismatch , Savegame , ClientQuit , MalformedPacket , ServerError , ServerFull , ServerBanned , CloseQuery , ConnectionLost } |
| 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. | |
| 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.
|
strong |
Status of a network client; reasons why a client has quit.
| bool NetworkCoreInitialize | ( | ) |
| void NetworkCoreShutdown | ( | ) |
Shuts down the network core (as that is needed for some platforms.
Definition at line 42 of file core.cpp.
Referenced by NetworkShutDown().