This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: XWin listens on too many TCP ports and killing existing connections.
- From: Caphe Noir <caphenoir at yahoo dot com>
- To: cygwin-xfree at cygwin dot com, cygwin at cygwin dot com
- Date: Sat, 29 May 2004 21:07:44 -0700 (PDT)
- Subject: Re: XWin listens on too many TCP ports and killing existing connections.
- Reply-to: cygwin-xfree at cygwin dot com
Ago -
The connections are not sticky. Thanks for all the
help.
Regards,
Khoa Nguyen
----- Original Message -----
From: "Alexander Gottwald"
<Alexander.Gottwald@s1999.tu-chemnitz.de>
To: <cygwin@cygwin.com>
Cc: <cygwin-xfree@cygwin.com>
Sent: Saturday, May 29, 2004 5:14 PM
Subject: Re: XWin listens on too many TCP ports and
killing existing
connections.
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
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/