Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to ping a remote server using asp.net

 
Lifelesspeople.com Forum Index -> Techy Turf
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
vandy
Novice Poster


Joined: 29 Apr 2008
Posts: 1


PostPosted: Tue Apr 29, 2008 5:49 am    Post subject: how to ping a remote server using asp.net Reply with quote

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

PostPosted: Wed Apr 30, 2008 9:36 pm    Post subject: Reply with quote

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

PostPosted: Thu May 01, 2008 1:26 am    Post subject: Reply with quote

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
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Techy Turf All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com