lwIP - A Lightweight TCP/IP stack - Patches: patch #7702, Include ability to increase the...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7702: Include ability to increase the socket number with defined offset
| Submitter: | Nick van IJzendoorn <dipswitch_> | ||
| Submitted: | Thu 12 Jan 2012 10:24:25 AM UTC | ||
| Category: | sockets/netconn | Priority: | 5 - Normal |
| Status: | Done | Privacy: | Public |
| Assigned to: | goldsimon | Open/Closed: | Closed |
| Planned Release: | None | ||
|
Wed 11 Feb 2015 10:07:03 PM UTC, comment #4: |
Simon Goldschmidt <goldsimon> |
|
Wed 11 Feb 2015 09:08:52 PM UTC, comment #3: This response might come a bit late, but...:
|
Simon Goldschmidt <goldsimon> |
|
Tue 17 Jan 2012 08:44:49 PM UTC, comment #2: You should be cautious with that since you can easily make an configuration error if (LWIP_SOCKET_MAX - LWIP_SOCKET_MIN) < (MEMP_NUM_RAW_PCB + MEMP_NUM_UDP_PCB + MEMP_NUM_TCP_PCB + MEMP_NUM_TCP_PCB_LISTEN)
|
Nick van IJzendoorn <dipswitch_> |
|
Fri 13 Jan 2012 07:37:32 PM UTC, comment #1: I can't see any problem with this. Perhaps it would be better to have a range though - LWIP_SOCKET_MIN and LWIP_SOCKET_MAX as that is a bit more flexible. |
Kieran Mansley <kieranm> |
|
Thu 12 Jan 2012 10:24:25 AM UTC, original submission:
Would it be possible to add an socket offset to the socket API so the socket number is increased with the defined number?
|
Nick van IJzendoorn <dipswitch_> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2015-02-11 | goldsimon | Status | None | Done | |
| Assigned to | None | goldsimon | |||
| Open/Closed | Open | Closed | |||
| 2013-01-15 | goldsimon | Category | None | sockets/netconn | |
| 2012-01-12 | dipswitch_ | Attached File | - | Added lwip-socket.patch, #24805 | |
| 2012-01-12 | dipswitch_ | Attached File | - | Added lwip-socket.patch, #24804 | |
| Carbon-Copy | - | Added dipswitch_ |
Powered by Savane 3.12.
Corresponding source code

Done, but changed the FD_SET (etc.) macros to calculate on the socket passed instead of making the array bigger. Works for me.
Thanks for the idea and the patch.