🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: If it is Connecting to Internet

#6790
From: Danila Vershinin
Date: Mon, 11 Apr 2005 06:21
13 lines
1749 bytes
"Grety" <valid@emailaddress.com> wrote in message 
news:425419f8@newsgroups.borland.com...
> I want to add a capability that when users try or connect to internet 
> shows
> a Welcome Message.

Hi Grety
For that purpose just use Indy components. They have got a component 
called...let me remember...ummm...TIdIPWatch component. It lets you save ip 
history and check if user is online. plus you can always force the check 
with ForceCheck() that would return boolean value indicating online status. 
Otherwise there you could use internal thread for this class that checks in 
specified time intervals for a change in online status. 
Technical Details
Message-ID: <425a2e6a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <425419f8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,39e26caeb8dabc08
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Danila Vershinin" <danprep@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <425419f8@newsgroups.borland.com>
Subject: Re: If it is Connecting to Internet
Date: Mon, 11 Apr 2005 10:21:11 +0400
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 62.33.222.139
Message-ID: <425a2e6a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113206378 62.33.222.139 (11 Apr 2005 00:59:38 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail