Article View: borland.public.cppbuilder.internet.socket
Article #4922Re: Newbie Question
From: Stefano Bonifazi
Date: Thu, 09 Dec 2004 20:52
Date: Thu, 09 Dec 2004 20:52
27 lines
1726 bytes
1726 bytes
Hi! I think You can write a small application (a small service or a small consolle application always running) that checks for the PC IPs periodically, when a new one is available either you've enstablished an internet connection, or a LAN connection ... check which kind you're dealing about, and if it's a LAN connection, run your application either with ShellExecute or CreateProcess... Hope that can helpYou! Stefano B. "Jonny Cash" <haal@haalllooo.sk> ha scritto nel messaggio news:41875970$1@newsgroups.borland.com... > Hello, > > I would like to start an application automatically, when the pc is connected > to the corporate network via LAN, and close the app when the pc is > disconnected. is it possible to realize this issue with indy? > > thanks for help > > > br > > Stephan > >
Technical Details
Message-ID:
<41b8baef@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41875970$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,21f3fb14850559e4 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Stefano Bonifazi" <stefboombastic@tele2.it> Newsgroups: borland.public.cppbuilder.internet.socket References: <41875970$1@newsgroups.borland.com> Subject: Re: Newbie Question Date: Thu, 9 Dec 2004 21:52:00 +0100 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 212.141.200.23 Message-ID: <41b8baef@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102625519 212.141.200.23 (9 Dec 2004 12:51:59 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail