Fix sockets.