I have updated the tftpd32 server to the latest 4.50 version and the tftpd service is now always bound to the default port 69.
It seems that the TftpPort option from the tftp32d.ini file is merely ignored.
After analysis of the source code, I discovered that the default value (69) is hardcoded (line 70 of tftp_main.c)
wsprintf (szServ, "%d", 69);
By modifying the source code to:
wsprintf (szServ, "%d", sSettings.Port);
the tftp server binds to the correct port.
Do you think this is the right fix ?
If yes, how can I propose this fix for the next version of Tftpd32 ?