This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem when lots of sockets open.
- To: ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] Problem when lots of sockets open.
- From: Grant Edwards <grante at visi dot com>
- Date: Mon, 12 Mar 2001 10:27:19 -0600
- References: <20010308193311.A3634@visi.com>
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