note 14699 added to function.fsockopen.php
| From: | bastian at poettner dot net | Date: | Fri, 10 Aug 2001 05:05:08 +0000 |
| Subject: | note 14699 added to function.fsockopen.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16531@lists.php.net to get a copy of this message | ||
My php-Version 4.0.6 does not react to a given timeout. Using the syntax:
$fp=fsockopen($server,80,&$errno,&$errstr,30);
it will try about 5 minutes, when the server is not available. This is pretty annoying, cause the
whole skript hangs and i find no way to "unlock" it and and abort the connection-attempt.
Any hints?
http://www.php.net/manual/en/function.fsockopen.php