|
OpenTTD Source 20260621-master-g720d10536d
|
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 | ( | ) |
Initializes the network core (as that is needed for some platforms.
Definition at line 22 of file core.cpp.
References Debug.
Referenced by NetworkStartUp().
| 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().