23 Debug(net, 0,
"[tcp/stun] Received illegal packet type {}", type);
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.
Functions related to debugging.
#define Debug(category, level, format_string,...)
Output a line of debugging information.
A number of safeguards to prevent using unsafe methods.
Definition of base types and functions in a cross-platform compatible way.
Basic functions to receive and send TCP packets to/from the STUN server.
PacketStunType
Enum with all types of TCP STUN packets.
@ PACKET_STUN_SERCLI_STUN
Send a STUN request to the STUN server.