Showing posts with label transport layer. Show all posts
Showing posts with label transport layer. Show all posts

Wednesday, September 4, 2013

TCP and UDP

Transport Layer Protocols

The Transport layer is responsible for providing mechanisms for multiplexing upper-layer applications, establishing sessions, and tearing down virtual circuits. It also hides details of any network-dependent information from the higher layers by providing transparent data transfer.
The two most common Transport layer protocols of TCP/IP protocol suite are Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). Both protocols manage the communication of multiple applications. The differences between the two are the specific functions that each protocol implements.

Flow Control

Data integrity is ensured at the Transport layer by maintaining flow control and by allowing
users to request reliable data transport between systems. Flow control prevents a sending host
on one side of the connection from overflowing the buffers in the receiving host—an event that
can result in lost data. Reliable data transport employs a connection-oriented communications
session between systems, and the protocols involved ensure that the following will be achieved:
  • The segments delivered are acknowledged back to the sender upon their reception.
  • Any segments not acknowledged are retransmitted.
  • Segments are sequenced back into their proper order upon arrival at their destination.
  • A manageable data flow is maintained in order to avoid congestion, overloading, and data loss.

The Transport layer provides for the segmentation of data and the control necessary to reassemble these pieces into the various communication streams. Its primary responsibilities to accomplish this are:
  1. Tracking the individual communication between applications on the source and destination hosts
  2. Segmenting data and managing each piece
  3. Reassembling the segments into streams of application data
  4. Identifying the different applications

OSI Model VS TCP/IP Model

 The Open Systems Interconnection reference model is a layered, abstract representation created as a guideline for network protocol design. The OSI model divides the networking process into seven logical layers, each of which has unique functionality and to which are assigned specific services and protocols.

In this model, information is passed from one layer to the next, starting at the Application layer on the transmitting host, proceeding down the hierarchy to the Physical layer, then passing over the communications channel to the destination host, where the information proceeds back up the hierarchy, ending at the Application layer

A reference model is a conceptual blueprint of how communications should take place. It addresses all the processes required for effective communication and divides these processes into logical groupings called layers.The OSI model is the primary architectural model for networks. It describes howdata and network information are communicated from an application on one computer through the network media to an application on another computer. The OSI reference model breaks this approach into layers.