[ECOS] Problem when lots of sockets open.

Grant Edwards grante@visi.com
Mon Mar 12 08:22:00 GMT 2001


On Thu, Mar 08, 2001 at 07:33:12PM -0600, Grant Edwards wrote:

> I've got an eCos app that listens for TCP connections on 16
> different ports.  
> 
> I can connect to any 8 of them, but usually the 9th TCP
> connection opens and is then immediately closed by the eCos
> stack: the eCos system sends a FIN exactly 50ms after the 2nd
> SYN is ack'ed.  I've added some diag_printfs to figure out
> where the socket is getting closed, and pretty sure it's not me
> calling close().

FYI: I've built a stripped down app that successfully accepts
connections on 16 TCP ports simultaneously, so it appears to be
an application bug.

-- 
Grant Edwards
grante@visi.com



More information about the Ecos-discuss mailing list