Testing a simple remote procedure call with C sockets