Added command line checking for client.c and server.c