Unix client/server in C