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
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
4 matches
Mail list logo