Warning: session_start(): open(/var/lib/php/sessions/sess_l4l89rvh89cjkbjgnb508iqce6, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
// 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;
}