Bug #13572 Updated: fread doesn't read from udp sockets
| From: | mfischer@php.net | Date: | Sat, 06 Oct 2001 08:26:19 +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-67418@lists.php.net to get a copy of this message | ||
ID: 13572
Updated by: mfischer
Reported By: trh@gmx.li
Status: Open
Bug Type: Filesystem function related
Operating System: Windows 2k/Linux
PHP Version: 4.0.6
New Comment:
In 4.0.7 a new socket has been introduced. Did you used it?
- markus
Previous Comments:
------------------------------------------------------------------------
[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