This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT *** New port assign to server functionality at run-time and reset.

Hello to all & to Amit.

Since the EthernetServer my_localServer = EthernetServer(4444); command can be only issued before setup(), and while in setup() we can only issue the my_localServer.begin(); command, it seems that there is no other way to change the server's listening port and then reboot the launchpad with a software reset and read the new listening port from EEPROM and then start the server to the new listening port. Is it so? 

Is there any other way to change the server's listening port, with a command at run-time as I do for other parameters like my_localIP, which will be written to EEPROM and then rebooting the launchpad have it running the server onto the new port after reading it from EEPROM? 

Thank you very much,

John