updated server.c and multi_hop.c