Bug #52887 [Fbk->NoF]: socket_recv MSG_PEEK bug
| From: | php-bugs at lists dot php dot net | Date: | Mon, 18 Feb 2013 00:34:28 +0000 |
| Subject: | Bug #52887 [Fbk->NoF]: socket_recv MSG_PEEK bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-176906@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=52887&edit=1
ID: 52887
Updated by: php-bugs@lists.php.net
Reported by: bitset at ya dot ru
Summary: socket_recv MSG_PEEK bug
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Sockets related
Operating System: Debian Linux
PHP Version: 5.3.3
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2010-09-19 18:35:25] cataphract@php.net
I'm not sure what the problem is here. Did it return 0 or not? What were you expecting it to
return?
Can you provide a complete yet short script that exemplifies the problem, together with its expected
and actual output?
------------------------------------------------------------------------
[2010-09-19 09:24:46] bitset at ya dot ru
Description:
------------
if TCP-buffer is empty then function socket_recv(.., MSG_PEEK) can't returned zero
example:
$buf = "";
$n = socket_recv($icq->socket, $buf, 125, MSG_PEEK );
Expected result:
----------------
if TCP-buffer is empty then function socket_recv(.., MSG_PEEK) must returned zero
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=52887&edit=1