now sorts through all possible sockets