delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/15:11:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <abraham_backus AT hotmail DOT com>
To: "cygwin" <cygwin AT cygwin DOT com>
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
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <OE45wr9y4cp51dyZSdA0000bb82@hotmail.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019