Fixed UDP search algorithm