Fix the sockets.