From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Problem when lots of sockets open. Date: Mon, 12 Mar 2001 10:42:00 -0000 Message-id: <20010312124749.A10851@visi.com> References: <20010308193311.A3634@visi.com> <20010312102719.A10053@visi.com> X-SW-Source: 2001-03/msg00167.html On Mon, Mar 12, 2001 at 10:27:19AM -0600, Grant Edwards wrote: > 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. I can duplicate the failure in my stripped down demo application: If there's a single task that uses select to monitor the listening sockets and the echo data on the connected data sockets, it works fine. If I create separate tasks to echo data on each connected socket, the 9th connection fails. A read() on the socket returns -1 immediately with errno==360 (operation timed out). Has anybody seen behavior like this? -- Grant Edwards grante@visi.com