Description: Introduction
In this assignment, you will build a client for a simple streaming transport protocol.
Media streams such as compressed video or audio are typically delay and jitter sensitive-
real-time conversations require 100 ms or less round-trip delay and human ear is very
sensitive to irregular sampling in audio. The long delay imposed by retransmission makes
Transmission Control Protocol (TCP) an unlikely candidate to carry media streams.
Fortunately, with proper error concealment, human perception is not very sensitive to
data loss in video and audio. Thus, User Datagram Protocol (UDP) is commonly
employed to transport media streams. However, there are many problems with UDP-
delay jitter, out-of-order arrival and packet loss. A commonly used technique is to buffer
up some packets to obtain a smoother play-back in the expense of some small delay. An
example is given by the following diagram:
As packet arrives from the network, the stream transport layer will delay the
File list (Check if you may need any files):
client.c