delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/29/05:07:52

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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: Maximum number of FD_SETSIZE = ?
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Date: Thu, 29 Aug 2002 16:11:26 +0700
Message-ID: <A220D2C5610C714BA00110F541A4ABD9012644D2@home.fsoft.fpt.vn>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Nguyen Minh Sang" <SangNM AT fsoft DOT com DOT vn>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g7T97pJ22868

Hi Experts,

On cygwin, in w32api/winsock.h:

typedef struct fd_set {
        u_int   fd_count;
        SOCKET  fd_array[FD_SETSIZE];
} fd_set;

Follow document, default FD_SETSIZE = 64 and We can increase over 64.
But I don't know the limit of that number = ? with the performance of
system is still OK.

thanks,
sangnm.

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