jedistar
asked on
Ping a server to check if its alive
I wish to write a checkserverstatus.aspx that will run "ping IP" and if it has a reply, it means
its alive. I wish to also check if telnet/ftp service is running..
How can i code .aspx to send dDos commands such as ping/ftp/telnet to ip
and receive a response and write to the lbl.txt in VB.NET
Thanks.
its alive. I wish to also check if telnet/ftp service is running..
How can i code .aspx to send dDos commands such as ping/ftp/telnet to ip
and receive a response and write to the lbl.txt in VB.NET
Thanks.
Here's an idea:
http://www.eggheadcafe.com/articles/20020209.asp
Like suggested in the article, you will have to create a socket to test your ping. You just create the socket, send it the information you want, and wait for your response.
http://www.eggheadcafe.com/articles/20020209.asp
Like suggested in the article, you will have to create a socket to test your ping. You just create the socket, send it the information you want, and wait for your response.
.net 2.0 makes ping easy with the new System.Net.NetworkInformat ion namespace, check out this article
http://msdn.microsoft.com/coding4fun/inthebox/netutils/default.aspx
http://msdn.microsoft.com/coding4fun/inthebox/netutils/default.aspx
ASKER
i need .net 1.0
I used this article to get the same functionality in my application.
http://support.microsoft.com/default.aspx?scid=kb;en-us;828993
I was using 1.1 but this should work on 1.0
http://support.microsoft.com/default.aspx?scid=kb;en-us;828993
I was using 1.1 but this should work on 1.0
ASKER
tried doesnt seem to work.
ASKER
do u have a simplified one for 1.1?
just a small script
just a small script
ASKER
all i need is to be able to ping a server with ip as input
as output to show if the server is alive
as output to show if the server is alive
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
for asp.net works?
ASKER