Mantis - Quercus
Viewing Issue Advanced Details
3119 minor always 12-04-08 22:36 02-12-09 11:58
koreth  
nam  
urgent  
closed 3.2.1  
fixed  
none    
none 4.0.0  
0003119: fsockopen doesn't support UDP
<?php
$errno = null;
$errstr = null;
$fd = fsockopen('udp://localhost', [^] 12345, $errno, $errstr);
if ($fd) print "success\n";
else print $errstr;

On regular PHP this prints "success" (and the socket can be used to send and receive UDP datagrams). On Quercus this prints "java.net.ConnectException: Connection refused".

Notes
(0003814)
koreth   
02-07-09 12:49   
I filed this one a while back, but it is actually pretty important (I'd rate it a "block" bug if I were filing it now). Some of our ad targeting services depend on UDP communication.
(0003827)
nam   
02-12-09 11:58   
php/1m0y
php/1m0z
php/1m10
php/1m11
php/1m12