PHP 4.0 Bug #6780 Updated: UDP support in Php
| From: | stas@php.net | Date: | Mon, 30 Oct 2000 16:00:22 +0000 |
| Subject: | PHP 4.0 Bug #6780 Updated: UDP support in Php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36426@lists.php.net to get a copy of this message | ||
ID: 6780
Updated by: stas
Reported By: anonymous@sol.dk
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
PHP supports UDP now. Please reopen if you still have problems.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-16 20:47:31] anonymous@sol.dk
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,"ÿÿÿÿdetailsx00");
$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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6780