On Sun, Feb 28, 2010 at 10:05 PM, Alex Lindeijer
<ale...@3d-perception.com> wrote:
> Hi
> Yes that is
> int on=1;
>         if (setsockopt(listener, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 
> 0)
>                {
>                  perror("setsockopt(SO_REUSEADDR) failed");
>                }
> If I use that I get  the following ASSERT:
> "Recorded alarm not in the future! Starved network thread?"
> I also get the "address already in use" erro also when changing
> IP address ie  not using the same IP address

The first thing I would have a look at is to  tinker with the ecos.ecc settings
to provide more of something: memory, number of sockets, file handles,
scatter gather list length, etc.

Embedded TCP/IP stacks generally have a lot of limits that are tweaked quite
low by default to reduce out of the box resource usage, eCos is no different.


-- 
Øyvind Harboe

Visit us at Embedded World, March 2nd-4th. IS2T's stand, HALL 10 - 118
http://www.zylin.com/events_embeddedworld.html

US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to