rendered paste body$host = '25.25.25.25';$port = 29070;$localhost = '0'; for($a='a';$a < 'z';$a++) { $socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); socket_set_nonblock($socket); if(!socket_set_option($socket, SOL_SOCKET, SO_REUSEADDR, 1) == true) { exit('Address is Reusable'); } if (!socket_bind($socket, $localhost, $port)) { exit('bind error'); } $packet = chr(0xff).chr(0xff).chr(0xff).chr(0xff).$a; if (socket_sendto($socket, $packet, strlen($packet), 0x100, $host, $port) !== false) { } $sockref[] =& $socket; // create a reference to the socket as an array $ip = ''; socket_select($sockref, $write = NULL, $except = NULL, 1); // sec. timout if(socket_recvfrom($socket, $buf, 4096, 0, $ip, $port) == true) { echo $buf.'<br />'; } sleep(1); }