Bug #13572 Updated: fread doesn't read from udp sockets

From: Date: Sat, 06 Oct 2001 08:31:49 +0000
Subject: Bug #13572 Updated: fread doesn't read from udp sockets
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67420@lists.php.net to get a copy of this message
ID: 13572 User updated by: trh@gmx.li Reported By: trh@gmx.li Status: Open Bug Type: Filesystem function related Operating System: Windows 2k/Linux PHP Version: 4.0.6 New Comment: i used fsockopen("udp://$host", $port ....) socket_set_blocking($fp, FALSE) Previous Comments: ------------------------------------------------------------------------ [2001-10-06 04:26:18] mfischer@php.net In 4.0.7 a new socket has been introduced. Did you used it? - markus ------------------------------------------------------------------------ [2001-10-06 04:04:24] trh@gmx.li socket's set to non-blocking, opened at port 9999 udp $start=time(); while((time()-$start)<2) { $res=fread($fp2, 100); echo "$res\n"; } no answer from udp socket... a similar c program works btw: in php4.0.7rc3 the problem isn't fixed ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13572&edit=1

« previous php.dev (#67420) next »