12 #include "../../stdafx.h"
13 #include "../../debug.h"
16 #include "../../safeguards.h"
25 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.
#define Debug(category, level, format_string,...)
Ouptut a line of debugging information.
Internal entity of a packet.
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.