Matti Aarnio wrote:
>
> On Sat, Oct 28, 2000 at 06:24:32PM -0700, Dan Kegel wrote:
> > I'm writing a server that will often have more than 1024
> > file descriptors open. That means that any code using
> > stdio might fail, since stdio.h can't handle any
> > fd's higher than 1024 on some systems.
>
> I don't know any which have a limit of 1024, but I do
> know couple, which limit their STDIO supported FDs
> into 0..127 or 0..255:
> SunOS 4.x: signed char for fd -> 0..127
> Solaris *: unsigned char for fd -> 0..255
>
> For that reason I looked for stdio replacement, and
> begun to use ATT Research SFIO at ZMailer.
> (OpenSSL BIOs were not eligible choice back then as
> they are too tightly bound into crypto stuff.)
Oh. That matches my experience. My test program
failed on Solarix when fopen tried to use fd 300.
- Dan
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]