|Subject:||[lwip-devel] HTTPD listening port: static to dynamic|
|Date:||Mon, 13 Nov 2017 09:28:54 +0100|
|User-agent:||Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0|
httpd included in lwip distribution (src/apps/httpd) uses the port defined by the macro HTTPD_SERVER_PORT, so it's a magic number that can't be changed.
I propose to change the function httpd_init() to accept one argument, the port number that the main application can change dynamically.
What do you think?
|[Prev in Thread]||Current Thread||[Next in Thread]|