Bug #13572: fread doesn't read from udp sockets
| From: | trh at gmx dot li | Date: | Sat, 06 Oct 2001 08:04:24 +0000 |
| Subject: | Bug #13572: fread doesn't read from udp sockets | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-67417@lists.php.net to get a copy of this message | ||
From: trh@gmx.li
Operating system: Windows 2k/Linux
PHP version: 4.0.6
PHP Bug Type: Filesystem function related
Bug description: fread doesn't read from udp sockets
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 bug report at: http://bugs.php.net/?id=13572&edit=1