Mail Archives: djgpp/1999/09/21/18:57:10
On Thu, 16 Sep 1999, Richard Krehbiel wrote:
> The problem I'm hitting now is that I'm getting the error message noted
> in the subject line at the point where watt32's socket.c would be
> allocating file descriptor 20. Huh? I've been unable to find the
> source of this limitation.
Are you using DJGPP v2.02?
> socket.c calls __FSEXT_alloc_fd, which
> itself just dups an open handle to the DOS NULL device, and otherwise
> appears not to impose any 20-handle limit
This is true for DJGPP v2.02 and later.
> Well, I already had FILES=30, so I suspected this was not the problem,
> but just in case, I increased it to FILES=200. There was no change.
Please step with a debugger into the related functions (you will need
to download their sources and compile them with -g), and post here
what did you find out. I have test programs hich prove to me that
FSEXT can indeed allocate up to 249 handles, which is the maximum.
- Raw text -