OpenTTD Source
20240919-master-gdf0233f4c2
|
Go to the documentation of this file.
12 #ifndef NETWORK_CORE_TCP_STUN_H
13 #define NETWORK_CORE_TCP_STUN_H
PacketStunType
Enum with all types of TCP STUN packets.
virtual bool Receive_SERCLI_STUN(Packet &p)
Send a STUN request to the STUN server letting the Game Coordinator know what our actually public IP:...
bool ReceiveInvalidPacket(PacketStunType type)
Helper for logging receiving invalid packets.
Internal entity of a packet.
@ PACKET_STUN_END
Must ALWAYS be on the end of this list!! (period)
NetworkStunSocketHandler(SOCKET s=INVALID_SOCKET)
Create a new cs socket handler for a given cs.
Base socket handler for all STUN TCP sockets.
@ PACKET_STUN_SERCLI_STUN
Send a STUN request to the STUN server.
Base socket handler for all TCP sockets.