Design a simple single-threaded TFTP server that can be run from a command-line in Windows. It should support RFC 1350 standards, and work with netascii and octet uploads & downloads.
All code should be done in C (no C++ accepted), and should not use any third party libraries. It should use standard Winsock calls, and standard file I/O.