PHP 4.0 Bug #6780: UDP support in Php
| From: | anonymous at sol dot dk | Date: | Sun, 17 Sep 2000 00:47:31 +0000 |
| Subject: | PHP 4.0 Bug #6780: UDP support in Php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33380@lists.php.net to get a copy of this message | ||
From: anonymous@sol.dk
Operating system: Windows 98 SE
PHP version: 4.0.2
PHP Bug Type: *General Issues
Bug description: UDP support in Php
Why doenst PhP Support UDP (so it works ????) I have codet some php-script, but it doenst work right
!!!
$fp = fsockopen("udp://10.250.7.246", 27015, &$errno, &$errstr);
if (!$fp)
{
echo "ERROR: $errno - $errstr<br>\n";
}
else
{
fwrite($fp,"ÿÿÿÿdetails\x00");
$got = 0;
$buffer = fread($fp, 120);
print( " $got: $buffer \n ");
echo "Hello WOrld";
fclose($fp);
}
But what have read, some older versions in Php did work with UDP, but not the > 4.0
Martin - Denmark