added function descriptions to server.c
added function descriptions to client.c