?php $fp = fsockopen( "udp: / /127.0.0.1", 13, $errno, $errstr); if (!$fp) {echo "ERROR: $errno - $errstr br \n";} else {fwrite($fp ,"\n"); echo fread($fp, 26); fclose($fp);}?
?php $fp = fsockopen( "www.php.net", 80, $errno, $errstr, 30); if(!$fp) {echo "$errstr ($errno) br \n";} else {fputs($fp ,"GET / HTTP / 1.0\n\n"); while(!feof($fp)) {echo fgets($fp,128);} fclose($fp);}?