From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5192 invoked by alias); 4 May 2004 09:27:01 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5185 invoked from network); 4 May 2004 09:27:01 -0000 Received: from unknown (HELO NUTMEG.CAM.ARTIMI.COM) (217.40.111.177) by sources.redhat.com with SMTP; 4 May 2004 09:27:01 -0000 Received: from mace ([192.168.1.25]) by NUTMEG.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.0); Tue, 4 May 2004 10:25:25 +0100 From: "Dave Korn" To: "'Cygwin List'" Subject: RE: shutdown( socket, SHUT_WR ) - unexpected behaviour Date: Tue, 04 May 2004 09:27:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <6.1.0.6.0.20040503224923.0313a5e0@127.0.0.1> Message-ID: X-OriginalArrivalTime: 04 May 2004 09:25:25.0609 (UTC) FILETIME=[BB681D90:01C431B9] X-SW-Source: 2004-05/txt/msg00094.txt.bz2 > -----Original Message----- > From: cygwin-owner On Behalf Of Larry Hall > Sent: 04 May 2004 03:51 > At 10:19 PM 5/3/2004, you wrote: > > >Can somebody with Win2k box compile and run prog from my > previous mail? > >I would like to know if it behaves incorrectly only on my > system, or on > >Win2k in general: > > > I don't know if this answers the question or not but it works fine for > me on W2K SP3 (Cygwin 1.5.9 yada, yada)... > WFM too on WXPproSP1, cyg-1.5.7. I wonder if your server is somehow responsible. What happens if you add a connection header, like this: const char *MESSAGE = "GET / HTTP/1.0\r\nConnection: keep-alive\r\n\r\n"; Just kind of wondering if the apache is prematurely dropping the line when it sees the FIN. 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/