* [ECOS] bind() shouldn't return EAGAIN for an error
@ 2012-09-24 21:21 Ken Yee
2012-09-27 3:07 ` Bernd Edlinger
0 siblings, 1 reply; 2+ messages in thread
From: Ken Yee @ 2012-09-24 21:21 UTC (permalink / raw)
To: ecos-discuss
AFAIK, bind() should never return EAGAIN for an error:
http://homepages.cwi.nl/~aeb/linux/man2html/man2/bind.2.html
but it does in eCos...anyone know why?
thanks,
ken
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [ECOS] bind() shouldn't return EAGAIN for an error
2012-09-24 21:21 [ECOS] bind() shouldn't return EAGAIN for an error Ken Yee
@ 2012-09-27 3:07 ` Bernd Edlinger
0 siblings, 0 replies; 2+ messages in thread
From: Bernd Edlinger @ 2012-09-27 3:07 UTC (permalink / raw)
To: kenkyee, ecos-discuss
Hi Ken,
> AFAIK, bind() should never return EAGAIN for an error:
> http://homepages.cwi.nl/~aeb/linux/man2html/man2/bind.2.html
In the BSD manpages, EAGAIN means, you are out of memory, see for instance:
http://www.unix.com/man-page/FreeBSD/2/bind/
There is a configurable memory pool for variable size objects in the bsd stack.
I'd suggest you should increase CYGPKG_NET_MEMPOOL_SIZE
and check that too:
CYGSEM_MEMALLOC_ALLOCATOR_VARIABLE_COALESCE should be 1 (default)
Regards
Bernd Edlinger.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-27 3:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 21:21 [ECOS] bind() shouldn't return EAGAIN for an error Ken Yee
2012-09-27 3:07 ` Bernd Edlinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).