I urgently (in a couple of days) need to write a UDP based trivial FTP server in VC++ that implements most of RFC 1350 (http://www.faqs.org/rfcs/rfc1350.html
) using Windows Sockets.
The server must support a port number specified as the first comand line parameter (> tftp 5000).
It should support the binary file transfer mode and be capable of handling both RRQs(read requests) and WRQs (write requests) but need not be capable of handling multiple simultaneous clients.
It must support the TFTP protocol including timeout and certain number of retransmissions.
The server should emulate the "trace" functionality of TFTP clients i.e. print one line to stdout every time a TFTP message is received or sent by the server.
I would be very grteful if someone could help me write the code for the server.