OpenTTD Source 20260108-master-g8ba1860eaa
core Directory Reference

Files

 address.cpp
 Implementation of the address.
 
 address.h
 Wrapper for network addresses.
 
 config.cpp
 Configuration of the connection strings for network stuff using environment variables.
 
 config.h
 Configuration options of the network stuff.
 
 core.cpp
 Functions used to initialize/shut down the core network.
 
 core.h
 Base for all network types (UDP and TCP).
 
 host.cpp
 Functions related to getting host specific data (IPs).
 
 host.h
 Resolving of hostnames/IPs.
 
 http.h
 Basic functions to send and receive HTTP packets.
 
 http_curl.cpp
 CURL-based implementation for HTTP requests.
 
 http_none.cpp
 Emscripten-based implementation for HTTP requests.
 
 http_shared.h
 Shared functions for implementations of HTTP requests.
 
 http_winhttp.cpp
 WinHTTP-based implementation for HTTP requests.
 
 network_game_info.cpp
 Functions to convert NetworkGameInfo to Packet and back.
 
 network_game_info.h
 Convert NetworkGameInfo to Packet and back.
 
 os_abstraction.cpp
 OS specific implementations of functions of the OS abstraction layer for network stuff.
 
 os_abstraction.h
 Includes and/or implementations for the network stuff.
 
 packet.cpp
 Basic functions to create, fill and read packets.
 
 packet.h
 Basic functions to create, fill and read packets.
 
 tcp.cpp
 Basic functions to receive and send TCP packets.
 
 tcp.h
 Basic functions to receive and send TCP packets.
 
 tcp_admin.cpp
 Basic functions to receive and send TCP packets to and from the admin network.
 
 tcp_admin.h
 Basic functions to receive and send TCP packets to and from the admin network.
 
 tcp_connect.cpp
 Basic functions to create connections without blocking.
 
 tcp_content.cpp
 Basic functions to receive and send Content packets.
 
 tcp_content.h
 Basic functions to receive and send TCP packets to/from the content server.
 
 tcp_content_type.h
 Basic types related to the content on the content server.
 
 tcp_coordinator.cpp
 Basic functions to receive and send Game Coordinator packets.
 
 tcp_coordinator.h
 Basic functions to receive and send TCP packets to/from the Game Coordinator server.
 
 tcp_game.cpp
 Basic functions to receive and send TCP packets for game purposes.
 
 tcp_game.h
 Basic functions to receive and send TCP packets for game purposes.
 
 tcp_listen.h
 Basic functions to listen for TCP connections.
 
 tcp_stun.cpp
 Basic functions to receive and send STUN packets.
 
 tcp_stun.h
 Basic functions to receive and send TCP packets to/from the STUN server.
 
 tcp_turn.cpp
 Basic functions to receive and send TURN packets.
 
 tcp_turn.h
 Basic functions to receive and send TCP packets to/from the TURN server.
 
 udp.cpp
 Basic functions to receive and send UDP packets.
 
 udp.h
 Basic functions to receive and send UDP packets.