TheIllusionistMirage/ChatProgram — pull request #1 by amhndu (2014-10-02 08:28:12+00:00)
Title: Bug fix for client blocking

Fixed the bug ,
Server.cpp:72 : The client is expecting a packet other than "unregistered" to see if it is connected , you are not sending any,
thus , blocking the client at Client.cpp:87.
So , send a packet "registered" to the newClient.

Server.cpp:80 : You are making a new socket remotePeer , default initialised and then sending it a message.
You should have sent to newClient (before moving it to the map).
I've done a fix , it works for now.