testing c sockets