Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <017301c23d6f$0033bc90$6132bc3e@BABEL>
From: "Conrad Scott" <Conrad.Scott@dsl.pipex.com>
To: <cygwin@cygwin.com>
References: <1028578338.7433.ezmlm@cygwin.com> <200208060544.29738.pullmoll@stop1984.com> <20020806095349.N3921@cygbert.vinschen.de> <200208061818.30200.pullmoll@stop1984.com>
Subject: Re: _exit() missing WSACleanup() call?
Date: Tue, 6 Aug 2002 18:30:46 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

"Juergen Buchmueller" <pullmoll@t-online.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/

