intial server.cpp and client.cpp from example