TCP Client Server application written in C++