A chat server written using sockets in C++