Following script i use for checking if an udp port is openend:
$ip="212.19.220.164";
$port="27960";
$open=0;
$fp = fsockopen("udp://".$ip, $port, &$errno, &$errstr, 9999);
if (!$fp) $open=1;
else $open=0;
@fclose($fp);
problem is following:
if i run this script on a linux box NOT connected to internet, it nicely responds that the socket isn't open.
Now here's the problem: If i upload this script to my provider it ALWAYS says the socket is open. Wheter it actually is or not.
Plz help me on this... I've read the manual thouroughly but unfortunatly there is not much there about udp sockets..
Tnx in advance