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: "'Cygwin List'" Subject: RE: shutdown( socket, SHUT_WR ) - unexpected behaviour Date: Tue, 4 May 2004 10:25:26 +0100 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] > -----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/