On Tue, Oct 27, 2009 at 5:54 PM, Jack Skelley <[email protected]> wrote: > Good Evening All: > Since many hotels and internet hot spots are shutting off ICMP (ping) I am > having a problem in one of my apps to determine if a server is available. > The existing code pings the server and if it responds the mapping process > proceeds. I know I can try and map the drive and if it fails the server: > 1. may not be available (unplugged, power failure, etc) > 2. or the user didn't enter their credentials correctly (probably the case...) > How can I tell if a server is available without pinging or trying to map a > drive. > I thought about trying to get the IP address of the server but that didn't > seem to work. It gave me the IP address of my box. > Any other ideas? ----------------------------------
Why not put this as a function on a web page. You will be removed from the ping restrictions of your local connections rule. Just a thought. -- Stephen Russell Sr. Production Systems Programmer SQL Server DBA Web and Winform Development Independent Contractor Memphis TN 901.246-0159 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

