ACR Protocol?
2012-04-06, 06:27 PM
#3
RE: ACR Protocol?
I have tried UDP and failed, seen the MS code, tried to fix my script, just can't, here it is.
PHP Code:
<?php 
<title>Server Status</title>
<
p>This page is for my servers, gaming, and more.</p>
<?
php
$ip
= "udp://127.0.0.1";
$port = 280;
if (!
$sock = @fsockopen($ip, $port, $num, $error, 200))
echo
'<B><FONT COLOR=red>Offline</b></FONT>';
else{
echo
'<B><FONT COLOR=lime>Online</b></FONT>';
fclose($sock);
}
?>

Still alive in 2021. Wish you all the best and I'll drop in every now and again.
Post Reply Quote this message in a reply


Messages In This Thread
ACR Protocol? - by Nightmare - 2012-04-06, 05:07 PM
RE: ACR Protocol? - by Victor - 2012-04-06, 06:07 PM
RE: ACR Protocol? - by Nightmare - 2012-04-06, 06:27 PM
RE: ACR Protocol? - by Victor - 2012-04-06, 07:41 PM

Forum Jump:


This forum uses Lukasz Tkacz MyBB addons.