Made sockets work