More experiments with sockets.