1 #ifndef BLANK_NET_SERVER_HPP
2 #define BLANK_NET_SERVER_HPP
21 Server(const Config &, World &);
29 void HandlePacket(const UDPpacket &);
31 Connection &GetClient(const IPaddress &);
33 void OnConnect(Connection &);
34 void OnDisconnect(Connection &);
36 void HandleLogin(Connection &client, const UDPpacket &);
41 std::list<Connection> clients;