[En-Nut-Discussion] Stack Size

Harald Kipp harald.kipp at egnite.de
Fri Sep 8 16:56:22 CEST 2006


There is no limit on the number of concurrent connections other than
heap space (NutHeapAvailable). However, if you are using socket
streams via freopen(), Nut/OS limits the number of streams to 5
(plus 3 more for stdin, stdout and stderr). You can change this in the
Configurator. Do not forget to rebuild Nut/OS when changing this.

However, you need to start as many threads as concurrent connections
you want to support. At the cost of RAM.

If you didn't mean concurrent connections, then your application
may have failed because you didn't properly close the connections.

Harald

At 09:12 08.09.2006 -0500, you wrote:


>So where am I being limited to 5 connections?




More information about the En-Nut-Discussion mailing list