Test sockets.