alcinnz, Tonight I'll study the last few of the more trivial networking tools in INetUtils!
After initializing internationalization & parsing commandline flags
tftp
(literal named "trivial") chooses which port to connect to whilst registering an interrupt handler & initializer a "mode" global before running a REPL referring to a lookuptable of callbacks.There's other REPL commands in
tftp
but (after parsing its args) "put" opens the specified file, configures a timer & timeout, ...1/?