Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



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

Posts: 7
Name: Karl
Trades: 0
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
 
 
Register now for full access!
Old 12-04-2006, 01:27 PM Re: Network monitor system
Average Talker

Posts: 22
Name: Momo
Trades: 0
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
 
Old 01-20-2007, 04:04 PM Re: Network monitor system
Banned

Posts: 9
Trades: 0
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, 05:46 PM Re: Network monitor system
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 01-23-2007, 11:46 AM Re: Network monitor system
bbutton's Avatar
Experienced Talker

Posts: 43
Name: Bill Button
Location: Reading,UK
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.45953 seconds with 12 queries