Updated the serverlist, now prints adress and port of the server.

This commit is contained in:
stiffly
2016-02-17 17:05:10 +01:00
parent 950ecba1c0
commit 46987beefb
5 changed files with 23 additions and 8 deletions
+2
View File
@@ -16,6 +16,8 @@ public:
void Send(Packet & packet, PlayerDefinition & playerDefinition);
void Send(Packet & packet);
void Disconnect();
int Port() { return acceptor->local_endpoint().port(); }
std::string Address();
private:
// TCP logic
boost::asio::io_service m_IOService;