ID:               12360
 Comment by:       sheep at fearthisclan dot com
 Reported By:      hordur at modernus dot is
 Status:           No Feedback
 Bug Type:         Sockets related
 Operating System: RedHat 6.2
 PHP Version:      4.3.3
 New Comment:

I am having this problem as well now.  My host is running FreeBSd. 
Here is the info page that shows what they have compiled and
everything. http://www.fearthisclan.com/info.php
The script im using this for queries a bunch of game servers.  I was
having a problem with the socket hanging on servers that were up.  The
socket would wait(hang) even when the information was all sent.  I
worked around this using socket_get_status (when it's zero I can quit
waiting), but if a server is down from the get go my script hangs
forever it seems.  If anyone has found a fix for this problem yet I'd
appreciate the help.

Thank you,
Tommy


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

[2003-09-22 06:51:12] [EMAIL PROTECTED]

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.

PHP-devs: Do not reopen reports where the original submitter hasn't
responded in years..


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

[2003-09-20 07:46:33] johannes at zoomposters dot com

I recompiled using --disable-ipv6. Still doesn't work.

For a certain host, I get Error 11, "Resource temporarily unavailable"
and the timeout arg has no effect.

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

[2003-09-16 05:25:22] [EMAIL PROTECTED]

Can you guys that still experience this problem try recompiling PHP
using --disable-ipv6 and see if that "solves" the problem?

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

[2003-09-16 04:53:03] uros at sir-mag dot com

I'm using PHP 4.3.3 on FreeBSD and also have problems with this
fsockopen

It seams that no timeout is using, because simple script takes about 1
minute to finish with error.

$fp = @fsockopen ('www.damirjosar.com', 80, $errno, $errstr, 1.0);
print_r($errno);
print_r($errstr);
print_r($fp);

Error is:
22 Invalid argument

And it takes about 1 minute. What about 1.0 second I set.

If i use regular system call like dig or nslookup It only takes about
10s for this host.

I have same problems with function checkdnsrr and gethostbyname

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

[2003-09-15 03:09:35] johannes at zoomposters dot com

php 4.3.3, redhat 7.3
still not working!

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/12360

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

Reply via email to