🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How can I know that the computer is connect to internet?

#4158
From: JJ
Date: Fri, 25 Mar 2005 22:57
14 lines
1345 bytes
Try looking into API WNetxxxxx functions (i.e. DWORD WNetGetConnection())

Jeff www.ruamkwamkid.com


"Emmanuel" <emmanuel@erphk.com> wrote in message 
news:42435f16$1@newsgroups.borland.com...
> How can I know that the computer is connect to internet?
> maybe cause by network cable problem,or hardware problem
> but how can I prove that the computer is not connecting to internet at 
> that
> time by programming?
>
> 
Technical Details
Message-ID: <42449753$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42435f16$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5a63f130ec735340
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JJ" <mangpoh_007@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <42435f16$1@newsgroups.borland.com>
Subject: Re: How can I know that the computer is connect to internet?
Date: Fri, 25 Mar 2005 15:57:21 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 65.215.215.240
Message-ID: <42449753$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111791443 65.215.215.240 (25 Mar 2005 14:57:23 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail