/*
Shell for "ident.php"
*/
require "ident.php";
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$start1 = getmicrotime();
echo "Your TCP ident is '".get_tcp_ident("", 0, 0)."'
\n";
$finish1 = getmicrotime();
$start2 = getmicrotime();
echo "Your UDP ident is '".get_udp_ident("", 0, 0)."'
\n";
$finish2 = getmicrotime();
echo "TCP:".($finish1-$start1)."
\n";
echo "UDP:".($finish2-$start2)."
\n";
?>