Multithreaded chat on C++ Socket

To study the Socket in C++ was developed a simplified analog chat icq. For the implementation of IM used cSocket own class that encapsulate the call API functions for working with sockets

The general principle of the IM creates a separate stream which creates a socket server. This simple socket server listening on port connections to the account from another computer. Basically stream created "eternal" cycle, which handles user input keyboard.You can download sources files