| Author |
Message |
vandy Novice Poster
Joined: 29 Apr 2008 Posts: 1
|
Posted: Tue Apr 29, 2008 5:49 am Post subject: how to ping a remote server using asp.net |
|
|
| I have created a website which is deployed on a server. Now what I want is whenever the server is down, I as an administrator should get the email telling me that right now the server is down. This check should be within every 5 minutes. How can I do this using asp.net with C#. Any suggestion would be of great help. |
|
| Back to top |
|
| |
exsanguination Forum Regular
Joined: 27 Apr 2005 Posts: 418 Location: Australia
|
Posted: Wed Apr 30, 2008 9:36 pm Post subject: |
|
|
If you are using .NET 2.0
http://www.aspdeveloper.net/ti.....PingServer
But i'm sure there are better tools out there than that....look at some monitoring tools on the server etc. |
|
| Back to top |
|
| |
LP-SolidRaven Dictator of the Dump

Joined: 06 Jun 2004 Posts: 7193 Location: The cheese is made out of moon
|
Posted: Thu May 01, 2008 1:26 am Post subject: |
|
|
Writing something yourself to ping a remote server isn't that hard. Get some documentation on the ICMP protocol. It's not really all that hard. _________________
| Quote: |
<bart416> I just realized something
<bart416> we celebrate the fact that this piece of rock made one rotation around a glowing ball of plasma that is kept together due to its own gravity well
<njsg> HAPPY NEW YEAR
<Easter> ^^
|
|
|
| Back to top |
|
| |
|
|
|