Messing around with sockets in C.