|
From: | Wilfred |
Subject: | [lwip-devel] [bug #56593] Add callback object storage to struct netconn |
Date: | Thu, 11 Jul 2019 16:26:20 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36 |
Follow-up Comment #3, bug #56593 (project lwip): Yes, this sounds like a good suggestion. Thank you. Sorry for the extra posts. [comment #1 comment #1:] > Seems what you need for your own app is what the socket layer uses struct netconn's 'socket' member for. A correct solution to me would be to change this member 'int socket' into a union providing both 'int socket' and 'void *callback_arg', what do you think? _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/bugs/?56593> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |