got sockets working