changes to networkScanner for UDP listener