Re: UDP????

From: Date: Sun, 20 Aug 2000 18:50:46 +0000
Subject: Re: UDP????
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12657@lists.php.net to get a copy of this message
> I have tried the following example from the php site, but I just get a blank > page. > <?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); > } > ?> > What am I doing wrong and do I have to compile PHP with some option to > enable these options? Me too ... I only can use UDP to send message .. but can't use UDP to receive anything.... -=-- hjf

« previous php.general (#12657) next »