Check for a listening port...

From: Date: Sun, 07 Jul 2002 16:47:08 +0000
Subject: Check for a listening port...
Groups: php.windows 
Request: Send a blank email to php-windows+get-14578@lists.php.net to get a copy of this message
Hi all Short request: I'm looking for a php script that will test for a listening port, (specifically port 8000 on the same server, say localhost). Basically if port 8000 is active, I want to redirect to that, otherwise display a page that says "service offline" or something. Any ideas? Cheers Ross

« previous php.windows (#14578) next »