Got sockets working