Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [216.190.251.228] From: "Abraham Backus" To: "cygwin" References: <85256CA8 DOT 0065C54C DOT 00 AT cinote DOT computrition DOT com> Subject: Re: Subject: Re: Setup.exe Date: Wed, 8 Jan 2003 10:57:59 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 08 Jan 2003 18:58:04.0467 (UTC) FILETIME=[DFC64830:01C2B747] Along with IE/Windows wininet autodial apis, there's a message (I forget the exact message ID right now though) that you can post to an invisible autodial window periodically to tell it that we are busy and to not hang up. There is also an api in shdocvw.dll "SetQueryNetSessionCount", which increments, decrements, queries and returns the current session count, which is used by autodial to decide when to hang up. There are two aspects to autodial that can be configured via the Internet Control Panel: hang up when I'm finished or hang up when I'm idle for n minutes I have some code that does this and will see if I can't dig it up... -Abe ----- Original Message ----- > If Windoze is smart enough to autodial when some program wants to use the > internet it then should be smart enough to notice that the connection has > gone idle and do an idle time-out for hanging up. If not, then its broken. > > You can't blame the program that USES that auto-dialed connection for not > hanging up. It didn't dial, why should it hang up? Every program that might > use the internet (auto-dialled) now has to be modified to know how to hang > up the connection? What if you have two programs using the connection at > the same time, and one of them decides to hang it up? Oops. Clearly not the > right solution. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/