12#ifndef NETWORK_CORE_TCP_STUN_H
13#define NETWORK_CORE_TCP_STUN_H
Base socket handler for all STUN TCP sockets.
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:...
NetworkStunSocketHandler(SOCKET s=INVALID_SOCKET)
Create a new cs socket handler for a given cs.
bool ReceiveInvalidPacket(PacketStunType type)
Helper for logging receiving invalid packets.
Base socket handler for all TCP sockets.
Network stuff has many things that needs to be included and/or implemented by default.
Basic functions to create, fill and read packets.
Internal entity of a packet.
Basic functions to receive and send TCP packets.
PacketStunType
Enum with all types of TCP STUN packets.
@ PACKET_STUN_END
Must ALWAYS be on the end of this list!! (period)
@ PACKET_STUN_SERCLI_STUN
Send a STUN request to the STUN server.