Click to See Complete Forum and Search --> : check for server status is up or down


icronex
June 7th, 2007, 07:55 AM
Hi

I need a server status is up or down on diffrent ports by using php and perl


can u give the code by using a socket progarming .

and create a text file on server from local system.

Krishnaa
June 7th, 2007, 08:13 AM
Does that server listen on any port ? try to call socket connect on that port, if it succeeds then your server is up, if not then down. :)