[Top][All Lists]

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

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

From: Gisle Vanem
Subject: Re: [lwip-devel] Removing the restriction on number of sockets
Date: Fri, 11 Aug 2017 12:10:29 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Joan Lledó 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?

With the way Winsock defines and uses 'fd_set', this is not a problem.
A fix for this case too?


reply via email to

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