client.c & server.c NOW DEPRECATED