Problem 24
Several RPC implementations provide an option to the client to use RPC implemented over UDP or RPC implemented over TCP. Under what conditions will a client prefer to use RPC over UDP and under what conditions will he prefer to use RPC over TCP?
Problem 25
Consider two networks, \(N 1\) and \(N 2\), that have the same average delay between a source \(A\) and a destination \(D .\) In \(N 1\), the delay experienced by different packets is uniformly distributed with maximum delay being 10 seconds, while in \(N 2,995\) of the packets experience less than one second delay with no limit on maximum delay. Discuss how RTP may be used in these two cases to transmit live audio/video stream.
Problem 26
What is the total size of the minimum TCP MTU, including TCP and IP overhead but not including data link layer overhead?
Problem 27
Datagram fragmentation and reassembly are handled by IP and are invisible to TCP. Does this mean that TCP does not have to worry about data arriving in the wrong order?
Problem 28
RTP is used to transmit CD-quality audio, which makes a pair of 16-bit samples 44,100 times/sec, one sample for each of the stereo channels. How many packets per second must RTP transmit?
Problem 29
Would it be possible to place the RTP code in the operating system kernel, along with the UDP code? Explain your answer.
Problem 30
A process on host 1 has been assigned port \(p\), and a process on host 2 has been assigned port \(q .\) Is it possible for there to be two or more TCP connections between these two ports at the same time?
Problem 32
The maximum payload of a TCP segment is 65,495 bytes. Why was such a strange number chosen?
Problem 33
Consider a TCP connection that is sending data at such a high rate that it starts reusing sequence numbers within the maximum segment lifetime. Can this be prevented by increasing the segment size? Why (not)?
Problem 36
Consider the effect of using slow start on a line with a 10 -msec round-trip time and no congestion. The receive window is \(24 \mathrm{~KB}\) and the maximum segment size is \(2 \mathrm{~KB}\). How long does it take before the first full window can be sent?