c++ server and client code under Linux