1 #ifndef BLANK_NET_SERVER_HPP
2 #define BLANK_NET_SERVER_HPP
10 class ClientConnection;
21 Server(const Config &, World &);
28 UDPsocket &GetSocket() noexcept { return serv_sock; }
29 UDPpacket &GetPacket() noexcept { return serv_pack; }
31 World &GetWorld() noexcept { return world; }
34 void HandlePacket(const UDPpacket &);
36 ClientConnection &GetClient(const IPaddress &);
41 std::list<ClientConnection> clients;