delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/28/13:02:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: "'Bryan O'Donoghue'" <typedef AT eircom DOT net>, <cygwin AT cygwin DOT com>
Subject: RE: select/listen (win xp sp1) bug, due to Windows login somehow.
Date: Mon, 28 Feb 2005 18:00:44 -0000
MIME-Version: 1.0
In-Reply-To: <4223321F.10009@eircom.net>
Message-ID: <SERRANOsQwY6YHkidcD00000022@SERRANO.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 28 Feb 2005 18:00:44.0433 (UTC) FILETIME=[6C634010:01C51DBF]

----Original Message----
>From: cygwin-owner On Behalf Of Bryan O'Donoghue 
>Sent: 28 February 2005 15:01

> b) You reboot the machine and _don't_ log in. If you simply leave the
> machine at the login prompt, this particular Windows Service, will
> always behave as expected.
 
> However, if you do start the login process and poll programatically/by
> hand the service to return data, you should notice as I have that
> roughly 1-2 seconds before the full login, to the Windows desktop, that
> the process stops accepting connections, 

  My bet is that you have personal firewall software installed, and that
time is the particular point in userinit at which it (or it's management
interface) gets cranked up, and that is what is somehow causeing the
breakage.  Am I close?

> At this point a "netstat -an" will show BugTester in TIME_WAIT for port
> 1984, however, if left long enough, it will disappear (from the netstat
> -an list, not from the process list).

  That's what TIME_WAIT sockets always do.  Those TIME_WAITS are leftovers
from the invocations while you were waiting for it to disappear.  The real
important question is whether the 0.0.0.0:1984 LISTEN socket is still open.

> /* Functions */
> static void mainThread(void*arg){

  I'd recommend you don't do that.  Send code as an attachment instead, to
prevent it getting line-wrapped.  Nobody wants to spend ages fixing text
strings that have now been broken in the middle and are causing errors, or
trailing ends of c++ style // comments that have been wrapped onto new
lines; if you really want someone to try your testcase, they need to be able
to have it build OOTB.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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