Reply
Network monitor system
Old 12-04-2006, 07:36 AM Network monitor system
Novice Talker

Posts: 7
Name: Karl
Hi all, can anyone give me any tips on how to build an ASP system that will ping multiple addresses and display and "OK" message providing it receives a reply and "NOT OK" if a reply is not received?
TheBOSMan is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 12-04-2006, 12:27 PM Re: Network monitor system
Average Talker

Posts: 22
Name: Ophir
Location: Israel
I think in order to do that you'll need access to the shell command - which most hosting services won't give you permissions to.
another thing you can do is write a dll that preforms that action, register it on the server and use it in your asp code.
if you are working with asp.net however you can use the different network namespaces available to you to preform that action.

here you can find and example that's using the shell:
http://www.4guysfromrolla.com/webtech/102998-1.shtml
ophir.oren is offline
Reply With Quote
View Public Profile Visit ophir.oren's homepage!
 
Old 01-20-2007, 03:04 PM Re: Network monitor system
Banned

Posts: 9
Hello ,

Provide me the details of your idea for which purpose you want to ping this address. If you want to ping any ip address on internet you can do it with asp easily.
vishalvasani is offline
Reply With Quote
View Public Profile Visit vishalvasani's homepage!
 
Old 01-20-2007, 04:46 PM Re: Network monitor system
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Quote:
Originally Posted by TheBOSMan View Post
Hi all, can anyone give me any tips on how to build an ASP system that will ping multiple addresses and display and "OK" message providing it receives a reply and "NOT OK" if a reply is not received?

This would be a lot easier to accomplish with ASP.NET than ASP Classic. It's not something I've had to do before, so I don't have exact instructions for you ... but I'd bet my lunch there's something under System.Networking.??? that will ping an address and give you back true/false, along with speed and packet loss info.

Even if your entire site is in ASP Classic, you can run that side-by-side with ASP.NET in the same web site. The downside is you can't (easily) share session state between them.

You want to either store the list of addresses to ping in a database table, or an xml file.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 01-23-2007, 10:46 AM Re: Network monitor system
bbutton's Avatar
Experienced Talker

Posts: 43
Name: Bill Button
Location: Reading,UK
Hi,

Quick search on google found this

http://classicasp.aspfaq.com/general...e-results.html

Regards
Bill Button
http://www.rodmatic.com
bbutton is offline
Reply With Quote
View Public Profile Visit bbutton's homepage!
 
Reply     « Reply to Network monitor system
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13344 seconds with 12 queries