[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: Joan Lledó
Subject: Re: [lwip-devel] Removing the restriction on number of sockets
Date: Fri, 11 Aug 2017 19:33:27 +0200

> For GNU Hurd deployment, is LwIP only being used in a single process?  Or is 
> there no desire to use select for GNU Hurd?

The stack is working as a single process, and we use lwip_select(),
but the function is being called from one single point, so I just
allocate the required amount of bytes before calling lwip_select(),
based on the socket number, and cast the memory area to be treated as
a pointer to fd_set[1]. But this cannot be done in LwIP because FD_SET
and pals check for overflow and because it would require all
applications to do the same before calling lwip_select().  I'm not
even happy with the solution but we really need to provide unlimited
number of sockets.


reply via email to

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