Unit No8
Unit No8
Shweta Sakle
Outline:
• Transport layer services
• 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