. Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B have source port number x and the destination port number y. What are the source and destination numbers for the segments traveling from Host B to Host A?
The source port for segments travelling from host be is “y” while the destination port is
2. Is it possible for an application to enjoy reliable data transfer even when the application runs over UDP? If so, please be specific in your answer of how this takes place.
Yes, an application running over UDP can have a reliable data transfer. This happens in a situation where the application has a low volume of data to transmit at irregular intervals, and also has a dedicated server that communicates with the application only. UDP does not have to establish a connection before it starts data transmission; hence, it will send the message spontaneously. The result is that communication is faster (Pearson 2003).
3. Suppose two TCP connections are present over some bottleneck link of rate R bps. Both connections have a huge file to send (in the same direction over the bottleneck link). The transmissions of the files start at the same time. What transmission rate would TCP like to give to each of the connections?
Since the two transmissions are similar they will share the rate of transmission equally amongst them, hence, the transmission rate to each of the connections will be
Wireshark Lab (Wireshark 2011).
a) What is the IP address of gaia.cs.umass.edu? On what port number is it sending and receiving TCP segments for this connection?
IP Address: 188.8.131.52
Destination Port: 1058
Source Port: 80
b) What is the IP address and TCP port number used by your client computer (source) to transfer the file to gaia.cs.umass.edu?
IP Address: 192.168.15.50
Destination Port: 59303
Source Port: 80
c) What is the sequence number of the TCP segment containing the HTTP POST command?
Sequence Number: 151833
d) What is the length of each of the first six TCP segments?
Wireshark 1.6, 2011 Wireshark Lab: TCP. [online] Available at:
Pearson, C., 2003 Difference between TCP and UDP. [online] Available at:< http://tunnel.mrq3.com/explain/node2.html> [Accessed 22 October 2012].