Hi All, A simple example I got from the manual:
$fp = @fsockopen ($address, $port, $errno, $errstr, 5); if (!$fp) { echo "Oops"; } else { echo "Ok"; fclose ($fp); } Can someone point me in the direction of being able to probe multiple ports at the same time? (multi-threading or forking concept) We are looking at creating our own monitoring service to test if ports are open on our servers. If we scan every minute, and each takes 5 seconds, that only allows us 12 such ports before we overflow into the next minute. Unless someone else has a better solution that we can implement? Thanks! Terence -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php