0% found this document useful (0 votes)
8 views11 pages

Unit No8

Uploaded by

2021bec010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views11 pages

Unit No8

Uploaded by

2021bec010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Unit No:8 Transport layer

Shweta Sakle
Outline:
• Transport layer services

• Internet Protocols(UDP AND TCP)


Two Protocols in TL.
• 1. UDP
• 2. TCP
UDP: User Datagram Protocol

• Connectionless unreliable protocol


• Has limited error checking capability.
• Simple protocol and it can be used with minimum overhead.
• It is used when process needs to send a small messages without any
issue and reliability.
• Takes less time compared to TCP.
• Good for data flowing in one direction.
UDP header :

• UDP packets are called as User Datagrams which contains the fixed
size header of 8 bytes
• UDP header contains four main parameters.
• Source port: It is 16-bit information is used to identify the source port
of packet.
• Destination Port: It is 16-bit information used to identify application-
level service on destination machine.
• Length field: Specifies entire length of UDP packet (including header
and data). 16-bit field and minimum value is 8 bytes i.e size of header
itself.
• Checksum: it stores checksum value generated by sender before
sending. IPV4 this field is optional.
UDP Header:
TCP (Transmission Control
Protocol)
• It is connection-oriented protocol.
• Uses flow and error control mechanism at transport layer hence it is
reliable.
• TCP ensures that data reaches intended destination in the same order
it was sent.
• Carries a data and control information.
Connection establishment

• TCP transmits data in both direction (full duplex).


• Initialize the communication (SYN) and approval (ACK) for each end to send the
data.
• Three-way handshaking protocol is used to establish connection between two
TCP’s.
The TCP Segment Header
TCP Header:
• It is minimum 20 bytes long and maximum 60 bytes long
• The Source port is of 16 bits and it is present at application process of
sender machine.
• The destination port is also of 16 bit and it is present at application
process of receiver machine.
• Sequence number is of 32 bits and is given to the data bytes to be sent.
• Ack number is received then sequent number is updated to next data bits
• Checksum is also 16- bit pointer.
• Window size is also 16-bit which handles flow control between two
stations.

You might also like