networking - Flow control in data link layer vs flow control in transport layer -


i'm trying understand osi layer model.
read flow control in handelt in data link layer (l2) , transport layer (l4). cant find methods thay use.
transport layer uses flow control tcp useing window mechanism?
what/how data link layer flow control?

before knowing how layers controlling flow via various algorithms, must know reason why necessary.

flow control in transport layer ensures delivery of message globally, 2 points of connection on protocol logically connected.

whereas in data-link layer, concern deliver message locally, 2 points of connection on protocol physically connected.

now, coming upon algorithms control flow of network:

  1. stop , wait - flow control mechanism forces sender after transmitting data frame stop , wait until acknowledgement of data-frame sent received.
  2. sliding window - in flow control mechanism, both sender , receiver agree on number of data-frames after acknowledgement should sent. learnt, stop , wait flow control mechanism wastes resources, protocol tries make use of underlying resources as possible.

these 2 basic algorithms flow control, whereas others used error control mechanism.

tcp uses sliding window protocol flow control, size of dependent upon bandwidth, rtt , errors in packets.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -