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 From: "Dave Korn" To: "'Bryan O'Donoghue'" , 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <4223321F.10009@eircom.net> Message-ID: 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/