php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6780 UDP support in Php
Submitted: 2000-09-16 20:47 UTC Modified: 2000-10-30 11:00 UTC
From: anonymous at sol dot dk Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.2 OS: Windows 98 SE
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: anonymous at sol dot dk
New email:
PHP Version: OS:

 

 [2000-09-16 20:47 UTC] anonymous at sol dot 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,"????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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-30 11:00 UTC] stas@php.net
PHP supports UDP now. Please reopen if you still have problems.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 01 01:01:28 2024 UTC