This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Oct 24, 2002 at 12:01:10PM +0200, llandre wrote: > I did not understand if it is possibile and how to set the maximum number > of TCP connections acceptable by the stack. > From this point of view, are there differences between the two stacks > (OpenBSD and FreeBSD)? Each socket needs a file descriptor. There are two things you need to configure: CYGPKG_IO_NFILE CYGNUM_FILEIO_NFD By default these are 16, so you have a maximum of 16 open sockets and files. Both stacks come from the Unix world, so the stacks themselves should have no practical limit. Memory is probably you limitation. Andrew
Can you estimate the memory footprint required by each open socket/file? -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |