before testing sockets in C