Re: [PHP] fsockopen timeout not working

2002-10-07 Thread Rasmus Lerdorf
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

[PHP] fsockopen timeout not working

2002-10-07 Thread Scott Dowd
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

Re: [PHP] fsockopen timeout not working

2001-02-15 Thread Richard Lynch
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

[PHP] fsockopen timeout not working

2001-02-14 Thread Plamen Slavov
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