delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/06/13:28:25

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
Message-ID: <017301c23d6f$0033bc90$6132bc3e@BABEL>
From: "Conrad Scott" <Conrad DOT Scott AT dsl DOT pipex DOT com>
To: <cygwin AT cygwin DOT com>
References: <1028578338 DOT 7433 DOT ezmlm AT cygwin DOT com> <200208060544 DOT 29738 DOT pullmoll AT stop1984 DOT com> <20020806095349 DOT N3921 AT cygbert DOT vinschen DOT de> <200208061818 DOT 30200 DOT pullmoll AT stop1984 DOT com>
Subject: Re: _exit() missing WSACleanup() call?
Date: Tue, 6 Aug 2002 18:30:46 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

"Juergen Buchmueller" <pullmoll AT t-online DOT de> wrote:
> After running it for 2 or so minutes on Win98SE the main() can
no longer
> connect to the listening process and strerror() says 'No buffer
space
> available'. Run it with './testcase log' and wait until it
prints to stderr.
>
> This same code ran continuously for a long time on FreeBSD,
leaving a whole
> lot of sockets in the TIME_WAIT state for some time, but without
obvious
> problems.

Juergen,

This particular problem is a known issue with cygwin on (at least)
win98se (nb. it works fine on my win2k box).  See
http://cygwin.com/ml/cygwin-developers/2002-07/msg00167.html (and
followups) for some discussion.

I'm sort of thinking about looking at it RSN, but I keep letting
myself get distracted :-)

// Conrad

p.s. In your makefile, try something more like the following to
link:

    gcc  -o testcase testcase.o -lwsock32

On my setup, for example, libwsock32.a is not in the default
location (and also my TERM is not "cygwin": it's "xterm"), i.e.
YMMV.




--
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