[Top][All Lists]

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

[lwip-devel] HTTPD listening port: static to dynamic

From: Giuseppe Modugno
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

I think there are many times is useful to let the user to change the listening port of the embedded web server.

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?

reply via email to

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