Edit report at https://bugs.php.net/bug.php?id=52887&edit=1

 ID:               52887
 Updated by:       [email protected]
 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] [email protected]

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

Reply via email to