delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/15/04:31:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Thu, 15 Sep 2005 10:29:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: help on socket connexion
Message-ID: <20050915082911.GU5555@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4a03a72c050914161345feff39 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <4a03a72c050914161345feff39@mail.gmail.com>
User-Agent: Mutt/1.4.2i

On Sep 15 01:13, znort wrote:
> Hello everybody,
> 
> Could U help me please it's very important of course :(

There's nobody called "U" on this list, sorry.

> I'm doing (trying exactly) a little client/serveur tcp programm.
> [...]
> Now If I run a sample client test with a loop which try to connect 64
> times to my server,
> it works... but with FD_SETSIZE limit, my server will hang after 64 fork.
> 
> Right, but now, always on client side :
> 
> If I try a loop with 32 connection, it's ok.
> then I stop all my clients connexion - the children on server side die (ok)
> 
> If I try to connect again 32 times with my client by running my test
> program again...
> I meet again the FD_SETSIZE limit !!!
> 
> I suppose I've forgotten something on server side but where ???

Could you provide us with a testcase which contains the bare minimum
of code to reproduce the problem, and which compiles and runs out of
the box, please?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019