Network computing in C