lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9350] Sockets API: use OS's sys/socket.h instead of


From: Joan Lledó
Subject: [lwip-devel] [patch #9350] Sockets API: use OS's sys/socket.h instead of lwip/sock
Date: Fri, 7 Sep 2018 03:53:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #6, patch #9350 (project lwip):

Hello,

Let's try to close this. I wrote a patch which allows the user to provide
their own sockets headers. It includes three new macros LWIP_SOCKET_HEADERS,
LWIP_INCLUDE_SOCKETS and LWIP_INCLUDE_INET.

When including their own sockets, the user must probably make some changes in
sockets.c, but each particular case will be different, so I don't see the way
to do this upstream and therefore excluded sockets.c from the patch.

On the other hand, I removed the SO_* != SOF_* #errors in init.c b/c, as I
mentioned in the mailing list, it seems to me they're not needed anymore after
commit b034451 and the user won't be able to provide their own headers while
these #errors are there



(file #44951)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-Allow-the-use-of-external-Sockets-headers.patch Size:64 KB


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9350>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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