Converted search to use multiple sockets.