modify server.cpp and client.py