ID:               42467
 Updated by:       [EMAIL PROTECTED]
 Reported By:      daniel dot buschke at nextiraone dot de
-Status:           Open
+Status:           Feedback
-Bug Type:         *Network Functions
+Bug Type:         Sockets related
 Operating System: Linux
 PHP Version:      5CVS-2007-08-29 (snap)
 New Comment:

I can not reproduce with that one liner. It simply hangs.
Obviously you have some bigger script to test with?


Previous Comments:
------------------------------------------------------------------------

[2007-08-29 09:30:01] daniel dot buschke at nextiraone dot de

Description:
------------
When trying to connect to a host via fsockopen and socksify (see dante)
I get following:

PHP Warning:  fsockopen(): unable to connect to 1.2.3.4:99 (Operation
now in progress) in /socksify.php on line 15

But "Operation now in progress" is not an error which tolds that
connect fails.

socket_create and socket_connect are working fine.

seems like #39803 but has different version. Patch of #38568 did not
work

Reproduce code:
---------------
<?php
        $sock = fsockopen('1.2.3.4', 99);
?>

Expected result:
----------------
$sock should be an handle which is usable with fread or sth like this

$sock !== FALSE

Actual result:
--------------
PHP Warning:  fsockopen(): unable to connect to 1.2.3.4:99 (Operation
now in progress) in /socksify.php on line 15

$sock === FALSE


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


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

Reply via email to