You should read up on socket_select
On Tue, 8 Oct 2002, Scott Dowd wrote:
> I have a PHP application that goes out an checks all our servers via
> SNMP when requested. Trouble is, if the server is not available, the
> fsockopen never times out and therefore never moves onto the next
> server. I
I have a PHP application that goes out an checks all our servers via
SNMP when requested. Trouble is, if the server is not available, the
fsockopen never times out and therefore never moves onto the next
server. I am running 4.2.3 on IIS (NT4). I read there was a bug with
previous versions, but I
According to the manual;
http://www.php.net/manual/en/function.fsockopen.php
Depending on the environment, optional connect timeout may not be available.
Does anyone know what environment is needed for it to be available?
I have Redhat Linux 7.1 - and the timeout doen't seem to work.
Any ideas?
lamen Slavov <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Wednesday, February 14, 2001 8:40 AM
Subject: [PHP] fsockopen timeout not working
> Hi all,
> Does someone know why fsockopen timeout does not work?
> php3
> $mydata=fsockopen($machine,$port,&$errno,&$err
Hi all,
Does someone know why fsockopen timeout does not work?
php3
$mydata=fsockopen($machine,$port,&$errno,&$errstr,30);
I think that this function should fail after 30
seconds, but it just blocks the script.
__
Do You Yahoo!?
Get personalized e
5 matches
Mail list logo