ID:               20553
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dweller at devonweller dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Sockets related
 Operating System: Mac OS X
 PHP Version:      4.3.0RC1
 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:
------------------------------------------------------------------------

[2003-02-13 19:44:13] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

can't reproduce..


------------------------------------------------------------------------

[2002-11-21 17:46:19] dweller at devonweller dot com


In php4.3.0RC2:

When a new socket is created, the current error code for 
that socket is not initialized to 0.  I recommend that it 
should be.  The following code outputs:

error: 1313166380: Unknown error: 1313166380

The value changes from time to time.

<?php

if ($listener_sock = socket_create(AF_INET, SOCK_STREAM, 
SOL_TCP)) {
        if ($error_code = socket_last_error($listener_sock)) {
    echo "error: $error_code: " . socket_strerror 
($error_code)."\n";
        }
}


?>

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20553&edit=1

Reply via email to