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: Gisle Vanem
Subject: Re: [lwip-devel] Removing the restriction on number of sockets
Date: Fri, 11 Aug 2017 13:54:35 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

goldsimon wrote:

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

Have you thought about licenses before suggesting to copy winsock source code?

Did I suggest that? Rip it from Wine then; from it's <winsock.h>:

 * Copyright (C) the Wine project
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
...
typedef struct fd_set
{
  u_int  fd_count;               /* how many are SET? */
  SOCKET fd_array[FD_SETSIZE];   /* an array of SOCKETs */
} fd_set, FD_SET, *PFD_SET, *LPFD_SET;


--
--gv



reply via email to

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