🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5170

Internet connection detection

#5170
From: Tog
Date: Wed, 13 Oct 2004 11:17
9 lines
1279 bytes
Is it possible to detect if the computer is connected to the internet 
_without_ pinging or connecting to a host?

Is there for instance a Win Api call that would tell me if internet 
connection is established or not?

I want to display an icon if my application detects a connection, but I 
don't my application to start pinging some server. If 10.000 copies 
(hypothetically) did this i'd get some angry ISP on my neck :-)
Technical Details
Message-ID: <416d0ec3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2335deb8a8b70fc,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: <Tog>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Internet connection detection
Date: Wed, 13 Oct 2004 13:17:23 +0200
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.109.28.78
Message-ID: <416d0ec3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1097666243 83.109.28.78 (13 Oct 2004 04:17:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail