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 have just upgraded and still seems to be a
problem ...... Script times out.
 
$fp = fsockopen ($servername, 524, $errno, $errstr, 30);
         
    if (!$fp) {
     ........
    } 
    
    else {
     ........
    }


Reply via email to