add client.c and server.c