Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 544 Software Project 1 Kuo-Chun Huang (KC). Environment Linux (Ubuntu or others) Windows with Cygwin

Similar presentations


Presentation on theme: "ECE 544 Software Project 1 Kuo-Chun Huang (KC). Environment Linux (Ubuntu or others) Windows with Cygwin"— Presentation transcript:

1 ECE 544 Software Project 1 Kuo-Chun Huang (KC)

2 Environment Linux (Ubuntu or others) http://www.ubuntu.com/ Windows with Cygwin http://www.cygwin.com/

3 Gcc Package -- linux Which g++ Update the /etc/apt/sources.list in ubuntu http://ubuntuguide.org/wiki/Ubuntu:Gutsy#Updat 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

4 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

5 Example 1 & 2 Example 1: Transmit a packet from sender to receiver Example 2: How to design “ Packet Header ”

6 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

7 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 email. In your email, 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)


Download ppt "ECE 544 Software Project 1 Kuo-Chun Huang (KC). Environment Linux (Ubuntu or others) Windows with Cygwin"

Similar presentations


Ads by Google