ECE 544 Software Project 1 Kuo-Chun Huang (KC)
Environment Linux (Ubuntu or others) Windows with Cygwin
Gcc Package -- linux Which g++ Update the /etc/apt/sources.list in ubuntu es_and_Upgrades_and_Installing_Software Open the terminal (console), type ‘ sudo apt-get update ’ and 'sudo apt-get install g++'. Adaptation Manager Input Password Search g++ and then install it
Gcc Package -- cygwin Download and run cygwin installer In the step “ Select Packages ” expand “ Devel ” Select gcc, gdb related packages, and make click next and follow the rest of the installation instructions
Example 1 & 2 Example 1: Transmit a packet from sender to receiver Example 2: How to design “ Packet Header ”
Project 1 Send File name first Fragment data in “ text.dat ” to the limited packet size (e.g. 1500bytes) Use the code in Example 1 to transmit the packet Use the code in Example 2 to control sequence number Assemble all the packets to the same data Use “ diff text.dat xxx.dat ” to check
What to Submit CODE: All your source code. (please do not include text.dat and executable programs) COMPILE SCRIPT: If you use makefile to compile, provide makefile. Otherwise, write a text file (not a Microsoft WORD document) telling me how to compile your code. Also, please mention what system u are using (Linux or Cygwin) DESIGN DOCUMENT: A brief description about your protocol and designed packet format. A text file is OK. If you feel necessary to have graphics and figures, a PDF file is preferred than MS Word document. Please tar all the above files as one attachment to the . In your , please put "ECE 544 PROJECT 1" on the subject line and your full name in the body. Moreover, please format the name of the attachment file as ECE544 Project1-your name)