This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CDA 4527 Programming Assignment 1 Fall 2004 Date: 10/14/04 Due Date: 10/28/04 The objective of this assignment is to write a set of programs in Java that demonstrates reliable communication mechanism of TCP protocol using unreliable transport protocol UDP between sender and a receiver programs. Each datagram sent should include all the necessary information as part of the header such as sequence number, acknowledgement number, receive window, etc. TCP congestion control should also be incorporated. One suggestion is to use a string, with each part delimited by a special character (e.g. =). Each component can then be extracted using Java class StringTokenizer. Any certain packet can be marked as lost by the user before sending, meaning that it would never be delivered to the receiver, to test operation of data recovery. This information can also be contained in the header of a datagram, as a special field having true or false values. User should be able to mark any packet (or a sequence of packets) as lost....
View Full Document
- Fall '08