[PHP-DEV] PHP 4.0 Bug #6780: UDP support in Php From: anonymous <email protected>
Date: 09/16/00

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>