Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 29 May 2004 23:14:17 +0200 (MEST)
From: Alexander Gottwald <Alexander.Gottwald@s1999.tu-chemnitz.de>
To: cygwin@cygwin.com
Cc: cygwin-xfree@cygwin.com
Subject: Re: XWin listens on too many TCP ports and killing existing connections.
In-Reply-To: <20040529143625.71658.qmail@web50107.mail.yahoo.com>
Message-ID: <Pine.LNX.4.55.0405292308380.30532@lupus.ago.vpn>
References: <20040529143625.71658.qmail@web50107.mail.yahoo.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
X-Scan-Signature: 1c90534550b6c0ed116ec89d58e8972e
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id i4TLEiHt018966

Caphe Noir wrote:

> From: "Alexander Gottwald"
> <Alexander.Gottwald@s1999.tu-chemnitz.de>
> > I've created a small testprogram which calls select with a timeout of
> > 1 second. Get it from http://www.tu-chemnitz.de/~goal/xfree/select.tar.gz
> > unpack and run it:
> > /select.exe www.google.com 80
> >
> > This will print lines with "timeout". Do you get a new connection with
> > every timeout message?
>
> Sure does, a new listening connection at every
> timeout.

Are the connections sticky? I've just run it on my cygwin installation and
the number of connections is fixed. There is a new connection every second
but the old disappears before the new is created.

If you experience a different behaviour than it must be a problem with
ZoneAlarm or an other program installed on your host.

> Is there any work-around for this select problem?

I'm directing the message to the cygwin list since this problem also occurs
with a plain small cygwin program and is not bound to Cygwin/X at all.

> BTW, thanks for providing the source code.

No problem. This was just small socket programming praxis.

bye
    ago
NP: Lacrimosa - Alles Lüge
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723

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


