[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #52190] Allow LWIP_SOCKET_OFFSET with an external FD_S
From: |
Douglas |
Subject: |
[lwip-devel] [bug #52190] Allow LWIP_SOCKET_OFFSET with an external FD_SET |
Date: |
Sun, 8 Oct 2017 00:07:09 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL:
<http://savannah.nongnu.org/bugs/?52190>
Summary: Allow LWIP_SOCKET_OFFSET with an external FD_SET
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: ourairquality
Submitted on: Sun 08 Oct 2017 04:07:08 AM UTC
Category: sockets/netconn
Severity: 3 - Normal
Item Group: Feature Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
An error is currently generated compiling with LWIP_SOCKET_OFFSET set and
using an external FD_SET. Looking over the socket.c code suggested only one
possible problem, see patch. Most uses of an fd_set appear to respect the
LWIP_SOCKET_OFFSET. Would anyone happen to know the issue here?
When using lwip with newlib which defines FD_SET it would really help to be
able to define LWIP_SOCKET_OFFSET so that the socket descriptors can play well
with other driver descriptors, so that read write and close can dispatch off
the descriptor to various drivers and to lwip. So if the problems are not to
great I would like to try to get this working.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 08 Oct 2017 04:07:08 AM UTC Name:
0001-Allow-LWIP_SOCKET_OFFSET-with-an-external-FD_SET.patch Size: 1KiB By:
ourairquality
<http://savannah.nongnu.org/bugs/download.php?file_id=42085>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?52190>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #52190] Allow LWIP_SOCKET_OFFSET with an external FD_SET,
Douglas <=