60 likes | 72 Views
Assignments to implement TCP features using KENS, a TCP/IP emulation tool, focusing on reliable mode and basic functions like packet segmentation and reassembly.
E N D
Homework #3KENS KTCP reliable mode 2005 Spring CS441 TA: Hyunju Jin (hyunju@nclab.kaist.ac.kr) Korea Advanced Institute of Science and Technology Network Computing Laboratory
Objective • To expose students to KENS, a TCP/IP emulation tool and let them implement basic TCP functions
What to do • Assumptions: • Reliable mode: network layer delivers all packets in order • KENS.skeleton has a configuration file for reliable mode and initial 4 nodes setting. • Write a file transfer program in KENS • Name the file from the command line. • Implement ktcp.c • Make it work like rdt1.0 from textbook • TCP connection setup and tear down • TCP connection state maintenance • Packet segmentation/reassembly
Deliverables • Program source code • ktcp.h, ktpc.c (with comments) • your KENS application program • Documents • Description of your functions • To hyunju@nclab.kaist.ac.kr • Subject of your email must be[cs441]KENS#1 student ID • Due: midnight on Thu, 2005/5/5 • No late turn-ins • Partial credits to incompletes
Evaluation • All students will demonstrate to TAs • Explain your ktcp • Run your example KENS application • Answer following questions: • What is your packet size? • Is your connection teardown working properly? • Is the file transfer correct? • Print out the following on runtime • Current state information at client/server • Events that triggered state-transition • Packet fragmentation/reassembly process