___________________________-____________________________
UDP(USER DATAGRAM PROTOCOL):
The User Datagram Protocol (UDP) is simplest Transport Layer
communication protocol available of the TCP/IP protocol suite. It involves
minimum amount of communication mechanism. UDP is said to be an unreliable
transport protocol but it uses IP services which provides best effort delivery
mechanism.
In UDP, the receiver does not generate an acknowledgement of
packet received and in turn, the sender does not wait for any acknowledgement
of packet sent. This shortcoming makes this protocol unreliable as well as
easier on processing.
Features
·
UDP is used when
acknowledgement of data does not hold any significance.
·
UDP is good protocol for
data flowing in one direction.
·
UDP is simple and
suitable for query based communications.
·
UDP is not connection
oriented.
·
UDP does not provide
congestion control mechanism.
·
UDP does not guarantee
ordered delivery of data.
·
UDP is stateless.
·
UDP is suitable protocol
for streaming applications such as VoIP, multimedia streaming.
UDP
Header
UDP header is as simple as its function.
UDP header contains four main parameters:
·
Source Port - This 16 bits information is used to identify the source
port of the packet.
·
Destination Port - This 16 bits information, is used identify application
level service on destination machine.
·
Length - Length field specifies the entire length of UDP packet
(including header). It is 16-bits field and minimum value is 8-byte, i.e. the
size of UDP header itself.
·
Checksum - This field stores the checksum value generated by the
sender before sending. IPv4 has this field as optional so when checksum field
does not contain any value it is made 0 and all its bits are set to zero.
The transmission Control
Protocol (TCP): is one of the most important protocols of Internet Protocols
suite. It is most widely used protocol for data transmission in communication
network such as internet.
Features
·
TCP is reliable protocol. That is, the receiver always sends
either positive or negative acknowledgement about the data packet to the
sender, so that the sender always has bright clue about whether the data packet
is reached the destination or it needs to resend it.
·
TCP ensures that the data reaches intended destination in the same
order it was sent.
·
TCP is connection oriented. TCP requires that connection between
two remote points be established before sending actual data.
·
TCP provides error-checking and recovery mechanism.
·
TCP provides end-to-end communication.
·
TCP provides flow control and quality of service.
·
TCP operates in Client/Server point-to-point mode.
·
TCP provides full duplex server, i.e. it can perform roles of both
receiver and sender.
Comments
Post a Comment