On 01/09/2020 04:48, Chris Johns wrote:
The fd in this instance is 77 and I have RTEMS setup for 200 file descriptors.
Are there any other LibBSD configuration parameters I should be aware of?
I am sorry but 77 is to high because newlib by default limits the fd set size to
64...

#  ifndef       FD_SETSIZE
#       define  FD_SETSIZE      64
#  endif

I suggest you define `FD_SETSIZE` on the command line to the compiler to 256 and
see what happens. It should be fine to do this.

The FD_SETSIZE limit in Newlib also applies to the old network stack.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to