🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5036

Re: How to check for internet connection via LAN

#5036
From: Richard Bradbrook
Date: Tue, 01 Nov 2005 23:22
21 lines
1551 bytes
look at the following on MSDN.

InternetGetConnectedState
InternetCheckConnection
InternetAttemptConnect
InternetOpen
InternetOpenUrl

etc etc.

"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?
>
> I want to check whether I can connect to a certain URL using a LAN
> connection, and if this is not the case, connect using a dial-up 
> connection.
>
> Which API calls can I use?
>
> 
Technical Details
Message-ID: <4367f892@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <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: "Richard Bradbrook" <dont@spamme.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 23:22:01 -0000
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 86.136.63.228
Message-ID: <4367f892@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130887314 86.136.63.228 (1 Nov 2005 15:21:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail