socket_set_timeout
| From: | Joseph H Blythe | Date: | Thu, 24 Aug 2000 02:37:28 +0000 |
| Subject: | socket_set_timeout | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13286@lists.php.net to get a copy of this message | ||
Hey,
In the php manual it specifies that you use socket_set_timeout like:
socket_set_timeout(80,30,0);
which is port, seconds, milliseconds
this does not work it returns warning supplied argument is not a valid
file handle resource...
if I use socket_set_timeout($fp,30,0);
which is file pointer, seconds, milliseconds
It does not generate a warning but seems not to timeout the socket???
PHP's network functions hate me I'm sure of it!
Any ideas?
Regards,
Joseph