C++ recoding : server part & basic connexion for a client