🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to check for internet connection via LAN

#5028
From: Martin Nijhoff
Date: Tue, 01 Nov 2005 15:39
6 lines
1104 bytes
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: <43678c45$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.inode.at!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4163a888f54467c0,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Martin Nijhoff" <dont@mail.me>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to check for internet connection via LAN
Date: Tue, 1 Nov 2005 16:39:34 +0100
Lines: 8
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: 80.100.129.156
Message-ID: <43678c45$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130859589 80.100.129.156 (1 Nov 2005 07:39:49 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.inode.at!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail