Question

In: Computer Science

Describe the service TCP provides with respect to flow control and explain the mechanisms it uses...

  1. Describe the service TCP provides with respect to flow control and explain the mechanisms it uses to overcome the deficiencies of IP.

Solutions

Expert Solution

TCP provides a reliable communication channel over an unreliable network.When we send data from one system to another, packets may be lost, they may be transmitted out of order, the network can be congested or the receiver end can be overloaded. While establishing a TCP connection with our software,we usually don’t need to deal with this complexity, we just write some data to a socket and TCP makes sure the packets are delivered correctly to the receiver node.  

  • In TCP, the flow control ensures that the sender is not distressing the receiver by sending packets faster than its limit.Flow control is like the congestion control over the receiving end.
  • TCP ensures that the data packets delivered are in the exact order as they are sent from the sender end.TCP makes it possible with the help of send buffer and receive buffer.
  • TCP uses the Receive Window (rwnd) to control the amount of data that can be delivered from the send buffer.
  • TCP provides the ‘ack’ message concept, to acknowledge the sender that it receives the packet correctly and also the value of current window receive window in order to let the send buffer know whether or not it can send the next packet or not.
  • TCP uses the sliding window protocol to control the number of bytes it can have in one packet i.e. it can easily understand the number of packets it has to send to empty the send buffer.
  • Deadlock situations like one when the zero window situation or the ack message is lost, TCP enables the persist timer, which sends the ‘WindowProbe’ message in order to check the availability of the receiving window to receive the packets.

The basic deficiencies (or limitations ) of the IP are :

  • No Error Reporting : IP does not have error reporting mechanisms with it. For example, Suppose that the lifetime of a packet is completed while traveling on the Internet and in time, the value of the Time to Live (TIL) field in the packet becomes 0, then in this situation, the packet will be discarded. But there is no mechanism for the receiver to tell the sender that the following packet has been lost. TCP handles such errors by sending the ‘ack’ message mechanism with a closed socket to the sender. Thus, sender resends the message until it receives a success message.
  • No Communication : In Internet Protocol, there is no way to establish the communication between the two devices, whenever the two devices need to communicate, say for the situation when one device needs to check whether or not the device is alive. At the transport layer, TCP uses the network socket interface(NSI) to handle all handshaking and transmission details and present an abstraction of the network connection to the application.

Related Solutions

Briefly explain the Flow Control mechanism in Transmission Control Protocol (TCP)
Briefly explain the Flow Control mechanism in Transmission Control Protocol (TCP)
Describe the concept of flow control and briefly describe the mechanism/s implemented by the TCP protocol...
Describe the concept of flow control and briefly describe the mechanism/s implemented by the TCP protocol for this purpose.
A. The 802.11 LLC unacknowledged connectionless service provides no flow control or error control. TRUE or...
A. The 802.11 LLC unacknowledged connectionless service provides no flow control or error control. TRUE or FALSE B. An 802.11 extended service set (ESS) consists of two or more BSS’ interconnected by a distribution system (DS). TRUE or FALSE C. The 802.11 "integration service" performs address translation during a logical connection between the WLAN and external 802.x LANs. TRUE or FALSE
Describe the services of the IP protocol, and potentially ICMP protocol, with respect to flow control...
Describe the services of the IP protocol, and potentially ICMP protocol, with respect to flow control (ensuring the sender does not overwhelm the receiver).
b) UDP does not provide end to end flow control, but TCP does. Explain how this...
b) UDP does not provide end to end flow control, but TCP does. Explain how this is achieved using sequence numbers. Give an example where a packetized message sent using UDP is received incorrectly, but when using TCP it is received correctly under same circumstances without channel errors.                                                                     
Describe how arterioles control blood flow through intrinsic and extrinsic signaling mechanisms. Plot and describe reactive...
Describe how arterioles control blood flow through intrinsic and extrinsic signaling mechanisms. Plot and describe reactive and active hyperemia.
Describe the various mechanisms for avoiding and controlling congestion employed by TCP, namely: slow start, congestion...
Describe the various mechanisms for avoiding and controlling congestion employed by TCP, namely: slow start, congestion avoidance phase and reaction to congestion. Further, assume that a TCP connection at steady state with AIMD parameters alpha = 1 Byte and beta = 0.5 is currently sending 107B of data (i.e., congestion_window = 107B). Assuming no congestion drops occur in the next three rounds of transmission, what is the congestion-window in the next three rounds? If there is a congestion drop after...
Why Transmission Control Protocol (TCP) is called as Connection Oriented? Briefly explain
Why Transmission Control Protocol (TCP) is called as Connection Oriented? Briefly explain
BugKillers provides a quarterly pest control service for $106 a quarter. Its variable costs per service...
BugKillers provides a quarterly pest control service for $106 a quarter. Its variable costs per service call are $17. Customers can cancel the service at any time, and the firm has a quarterly attrition rate of 2%. Marketing spends $40 per year on customer retention. If the annual discount rate is 13%, what is the CLV of an existing customer? Please post the Excel formulas
Flow-control mechanisms are used at both layers 2 and 3 of X.25. Are both necessary or...
Flow-control mechanisms are used at both layers 2 and 3 of X.25. Are both necessary or is this redundant? Explain the problems which can be avoided for having flow control at both layers..
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT