This is the mail archive of the ecos-discuss@sourceware.org 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]

RE: bind() shouldn't return EAGAIN for an error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]