Date: 09/16/00
- Next message: apocalpse <email protected>: "[PHP-DEV] PHP 4.0 Bug #6783: Empty form used as a url make the session variables re-register and data is nul"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6785 Updated: { needs to be backslashed if followed by a variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: anonymous <email protected>
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: apocalpse <email protected>: "[PHP-DEV] PHP 4.0 Bug #6783: Empty form used as a url make the session variables re-register and data is nul"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6785 Updated: { needs to be backslashed if followed by a variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

