Article View: borland.public.cppbuilder.nativeapi
Article #5029Re: How to check for internet connection via LAN
From: Remy Lebeau (TeamB)
Date: Tue, 01 Nov 2005 17:17
Date: Tue, 01 Nov 2005 17:17
21 lines
1495 bytes
1495 bytes
"Martin Nijhoff" <dont@mail.me> wrote in message news:43678c45$1@newsgroups.borland.com... > Is there an easy way to check if there is an internet > connection via LAN? No. That is one of the harder types of connections to detect since an external computer is managing the actual connection. > I want to check whether I can connect to a certain URL > using a LAN connection Then just conect to the URL and see if it fails. > and if this is not the case, connect using a dial-up connection. Why don't you let the user decide what kind of connection to use? Gambit
Technical Details
Message-ID:
<4367a3a3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43678c45$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4163a888f54467c0 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43678c45$1@newsgroups.borland.com> Subject: Re: How to check for internet connection via LAN Date: Tue, 1 Nov 2005 09:17:16 -0800 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4367a3a3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130865571 68.69.17.41 (1 Nov 2005 09:19:31 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail