Skip to content

Internet Eng Prac 2 Code (v0.9-alpha)

Pre-release
Pre-release

Choose a tag to compare

@MattDN93 MattDN93 released this 12 Sep 20:13

This codebase satisfies the requirements for the Internet Engineering module Practical 2 stating:

"Develop a modified TFTP client, in a language of your choice, to download the files in Table 1. A typical TFTP client can do both upload and download, but you only need to achieve the latter functionality. It is recommended that you develop your client program in stages. First test and debug your client code to ensure that it can download the smallest file before attempting the larger files. "

Client features
Connects to a TFTP server to GET files
*accepts filename as argument
*syntax GET
*TFTP port 69 used internally to connect

compile the c file or use ./tftp from the working directory. The prompt asks for the IP address but for the prac that has been hardcoded. Replace IP address with arg0 in the "getaddrinfo" call.