stm32duino / STM32Ethernet

Arduino library to support Ethernet for STM32 based board
151 stars 42 forks source link

feat: Add function to define port of EthernetServer at runtime #63

Closed patricklaf closed 2 years ago

patricklaf commented 2 years ago

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,