What is Transport layer and its use in OSI Model? What are protocols of Transport layer?

author
,
IT Manager
  • Total 1 Answer
  • 2748
Can You answer this question?
author
,
CCNA Routing and Switching

Transport Layer : Process to Process delievery of data is done by transport layer .

=> Transport Layer has two major protocols  : TCP and UDP .

=> Which Transport layer protocol will be used either tcp or udp depends upon Application layer protocol.

example : Telnet , Ssh , Ftp , Http , Https these are applications layer protocols which will use TCP at Transport Layer.

==> Transport layer is responsible for providing Reliablity to application layer protocols.

TCP ( Transmission Control Protocol ) :

1. Connection Oriented Protocol    1.1 . Establish a virtual connection - using TCP THREE WAY HANDSHAKE.

                                                  1.2. Data transfer.

                                                  1.3. Terminate the connection

2. Reliable  : get acknowledgment for every message it sends.

3. Provides Error Correction and Error Detection.

4. Sequencing and Recovery  : Using Sequence number and Acknowledgment number .

 

UDP ( User Datagram Protocol ) : 

1. Connection Less- Protocol  - Direct Data Transfer.

2. Unreliable  : Doesn't provide acknowledgment.

3. Provides Error Detection.

4. No Lost Data Recovery. 

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 111: file_put_contents(/var/www/html/storage/framework/sessions/tfRxBbvAD96ynHQouvU2lPAUDmY6htkpevtQbqJ2): failed to open stream: No space left on device

  1. in Filesystem.php line 111
  2. at HandleExceptions->handleError(2, 'file_put_contents(/var/www/html/storage/framework/sessions/tfRxBbvAD96ynHQouvU2lPAUDmY6htkpevtQbqJ2): failed to open stream: No space left on device', '/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 111, array('path' => '/var/www/html/storage/framework/sessions/tfRxBbvAD96ynHQouvU2lPAUDmY6htkpevtQbqJ2', 'contents' => 'a:4:{s:6:"_token";s:40:"ROjOk05sHBrjqKy2pXlLXiKoiPl4GemkwWPM7Ql7";s:11:"viewed_urls";a:1:{i:0;s:86:"what-is-transport-layer-and-its-use-in-osi-model-what-are-protocols-of-transport-layer";}s:9:"_previous";a:1:{s:3:"url";s:114:"http://www.networkbulls.com/what-is-transport-layer-and-its-use-in-osi-model-what-are-protocols-of-transport-layer";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/var/www/html/storage/framework/sessions/tfRxBbvAD96ynHQouvU2lPAUDmY6htkpevtQbqJ2', 'a:4:{s:6:"_token";s:40:"ROjOk05sHBrjqKy2pXlLXiKoiPl4GemkwWPM7Ql7";s:11:"viewed_urls";a:1:{i:0;s:86:"what-is-transport-layer-and-its-use-in-osi-model-what-are-protocols-of-transport-layer";}s:9:"_previous";a:1:{s:3:"url";s:114:"http://www.networkbulls.com/what-is-transport-layer-and-its-use-in-osi-model-what-are-protocols-of-transport-layer";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2) in Filesystem.php line 111
  4. at Filesystem->put('/var/www/html/storage/framework/sessions/tfRxBbvAD96ynHQouvU2lPAUDmY6htkpevtQbqJ2', 'a:4:{s:6:"_token";s:40:"ROjOk05sHBrjqKy2pXlLXiKoiPl4GemkwWPM7Ql7";s:11:"viewed_urls";a:1:{i:0;s:86:"what-is-transport-layer-and-its-use-in-osi-model-what-are-protocols-of-transport-layer";}s:9:"_previous";a:1:{s:3:"url";s:114:"http://www.networkbulls.com/what-is-transport-layer-and-its-use-in-osi-model-what-are-protocols-of-transport-layer";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('tfRxBbvAD96ynHQouvU2lPAUDmY6htkpevtQbqJ2', 'a:4:{s:6:"_token";s:40:"ROjOk05sHBrjqKy2pXlLXiKoiPl4GemkwWPM7Ql7";s:11:"viewed_urls";a:1:{i:0;s:86:"what-is-transport-layer-and-its-use-in-osi-model-what-are-protocols-of-transport-layer";}s:9:"_previous";a:1:{s:3:"url";s:114:"http://www.networkbulls.com/what-is-transport-layer-and-its-use-in-osi-model-what-are-protocols-of-transport-layer";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 128
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 216
  8. at Kernel->terminateMiddleware(object(Request), object(Response)) in Kernel.php line 187
  9. at Kernel->terminate(object(Request), object(Response)) in index.php line 58
  10. at require_once('/var/www/html/public/index.php') in index.php line 20