🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1584

Re: (new) is PC connected?

#1584
From: hans galema
Date: Sat, 23 Oct 2004 09:41
28 lines
1738 bytes
patrick_artaud wrote:

> I would know if the user is connected, 

Who to what ?

Computers can be connected to the internet.
Programs can be connected to otherprograms -on the internet-.

A user wants to surf or mail.

> I have looked at the TClientSocket 
> component, I have tried , but I don't understand very well, all that I read 
> is "after connection" but not "is connected"?

See the OnConnect event.

> I have try to find the "InternetGetConnectedState" method in my help but I 
> don't find (I use BCB6 Pro)
> Where must I look?

There is still a thread about that:
Newsgroups: borland.public.cppbuilder.internet.socket
news://forums.borland.com/borland.public.cppbuilder.internet.socket
Subject: Internet connection detection
Date: Wed, 13 Oct 2004 13:17:23 +0200

Hans.
Technical Details
Message-ID: <417a2734@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <417a121e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,42f0c5c614cef912
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 23 Oct 2004 11:41:33 +0200
From: hans galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: (new) is PC connected?
References: <417a121e@newsgroups.borland.com>
In-Reply-To: <417a121e@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <417a2734@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098524468 129.125.201.248 (23 Oct 2004 02:41:08 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail