This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: Problem when lots of sockets open.


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


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