Sorka tak tylko sie zapytalem czy ktos takowy posiada,

znlazlem cos takiego :
[php:1:9f77a2e5c4]
<?
/* FUNCTION GetMicroTime
gets the current time in micro's. Used for timing purposes.
*/
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
/* FUNCTION END */
// ************************************************************************
$global_start = getmicrotime();
echo "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>K's Master Query Script</title></head><body><font face=verdana size=2>";
echo "Establishing Connection....<BR>";
// ************************************************************************
//error_reporting (E_ALL);
ob_implicit_flush ();
$ip = "12.103.205.44";
// half-life.central.won.net 198.74.33.62
$port = 27017;
$wonfilter = "gamedirtfc"; // can leave blank for no filtering
// ************************************************************************
$time_start = getmicrotime();
$fp = fsockopen("udp://$ip",$port, &$errno, &$errstr, 2);
$time_end = getmicrotime();
$connecttime = $time_end - $time_start;
if (!$fp)
{
echo "ERROR - $errno : $errstr <br/>";
} else {
// socket_set_blocking ($fp,1);
// socket_set_timeout($fp,2);
$time_start = getmicrotime();
$id = "x00x00x00x00";
$c='';
$count=0;
$packetID = 1;
while ($packetID > 0)
{ // Loop query mechanism until
$query = "x31$id$wonfilterx00";
$i = fwrite($fp,$query);
$c = '';
do { // read all available data from socket
$c .= fread ($fp,1);
$fpstatus = socket_get_status($fp);
} while ($fpstatus["unread_bytes"] );
/* Decode the packet ID :
First 6 bytes = "x00x00x00x00fx00"
Four bytes from position 6 = ID to send for next packet retrieval
Decode this ID to decimal to determine if more packets exist
*/
$id = substr ($c,6,4);
$tempID = unpack ("Itemp",$id);
$packetID = $tempID['temp'];
echo "<HR> QUERY : $query<BR> ID : $id ($packetID) <BR><BR>$c<BR>";
/* Decode IP information from packet :
Start at position 10, read 4xByte (octet) + 1xInt16 (port)
*/
$index=10;
while ($index < (strlen($c)-6))
{
// Get IP
$tempstring = substr ($c,$index,4);
$myip[$count] = ord($tempstring[0]).".".ord($tempstring[1]).".".ord($tempstring[2]).".".ord($tempstring[3]);
// Get Port
$tempstring = substr ($c,$index+4,2);
$tempint=unpack("nint",$tempstring);
$myport[$count]=$tempint['int'];
// Loop...
$index += 6;
$count++;
} // while data still to be parsed
} // $packetID > 0
$time_end = getmicrotime();
$mastertime = $time_end - $time_start;
echo "<HR><B><font size=4>[END - ".count($myip)." Servers Found ]</font></b><BR>";
// display list of ips
for ($count=0;$count<(count($myip));$count++) {
echo "<B>$count </B>".$myip[$count].':'.$myport[$count]."<BR>";
}
} // $fp works
$globaltime = $time_end - $global_start;
echo "<BR>OK<hr>Time to connect : $connecttime<BR>Time to retrieve IP info from WON : $mastertime<BR>TOTAL script execution time : $globaltime<BR>";
?>
[/php:1:9f77a2e5c4]
wpisalem Ip i port ale sie nie chce połączyć nie wiem dlaczego a wiem ze serwer dziala na 100%,pozdrwiam