lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] Removing the restriction on number of sockets


From: Stian Skjelstad
Subject: Re: [lwip-devel] Removing the restriction on number of sockets
Date: Fri, 11 Aug 2017 10:29:13 +0200


On Aug 11, 2017 09:46, "Joan Lledó" <address@hidden> wrote:
> In an RTOS, where you have multiple networking applications (which would
> typically be their own processes on Linux) but each are simply threads in
> the same process space, now a thread’s first call to socket() could return
> an FD larger than what FD_SETSIZE can hold rather than 0.  This would
> require modifying all applications to expect FDs that couldn’t fit within
> fd_set even when they are only using a small number of sockets
>

That's really bad, and I don't know how to solve it, Does anyone here
have any ideas?

Add support for poll(), which does not have this design issue in the API

Stian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]