I use the EthernetServerclass but I must read the port to be used from a configuration file on an SD Card at runtime.
As the port is optionally defined in the constructor and only used in the begin() function, I added a begin(uint16_t port) function to set port if needed,
I use the
EthernetServer
class but I must read the port to be used from a configuration file on an SD Card at runtime. As the port is optionally defined in the constructor and only used in thebegin()
function, I added abegin(uint16_t port)
function to set port if needed,