// We're hitting 255 machines in parallel :) // Returns list of found aware machines static L empBlast() { L l = synchroList(); new L threads; S ip = getMyIP(); int i = ip.lastIndexOf('.'); if (i < 0) ret; S net = substring(ip, 0, i+1); L myIPs = myIPs(); print("EMP-BLASTING" + net + ".*"); for (int n = 1; n <= 255; n++) { fS peer = net + n; if (!myIPs.contains(peer)) { S msg = "Peer Scan " + peer; threads.add(startThread(msg, r { if (isAware(peer)) l.add(peer); })); } } waitForThreads(threads); ret l; }