OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
12 #ifndef NETWORK_CORE_TCP_STUN_H
13 #define NETWORK_CORE_TCP_STUN_H
@ PACKET_STUN_SERCLI_STUN
Send a STUN request to the STUN server.
bool ReceiveInvalidPacket(PacketStunType type)
Helper for logging receiving invalid 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:...
Internal entity of a packet.
@ PACKET_STUN_END
Must ALWAYS be on the end of this list!! (period)
PacketStunType
Enum with all types of TCP STUN packets.
NetworkStunSocketHandler(SOCKET s=INVALID_SOCKET)
Create a new cs socket handler for a given cs.
Base socket handler for all STUN TCP sockets.
Base socket handler for all TCP sockets.