Aqib 5120 Ass 4 Computer Networking

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

AQIB NADEEM

18-ARID-5120
BSCS-6C
ASSIGNMENT #4
Q. In cases where reliability is not of primary importance, UDP would make a good transport
protocol. Give examples of specific cases.
UDP:
 It is an unreliable, connectionless transport layer protocol.
 The sender sends the data packets to the receiver while receiver does not send
acknowledgement to the sender. That’s why it is unreliable protocol.
 It provides process to process delivery/communication instead of host to host
communication.
 In comparison of TCP, UDP takes very less interaction among the sender and receiver.
 User datagram is the UDP packet, it contains 8 bytes of header and data which is
sending to the receiver side.

There are several ports numbers are used by the UDP:

 Echo uses 7 ports and it received the coming datagram from the server or receiver.
 Discard uses 9 ports and discards datagram which is already received.
 Users uses 11 port number and it uses to now the active users.
 Daytime uses 13 port number and it used to get date and time details.
 Domain uses 53 port number to know the domain name system details.
 Bootps uses 67 port number to know the bootstrap downloading information at server
port.
 Bootpc uses 68 port number to know the bootstrap downloading information at client
port.
 TFTP uses 69 port number to transfer files.
 SNMP uses 161 port number and it is a Simple Network Management Protocol.
 SNMP uses 162 port number and it is a Simple Network Management Protocol (trap).

Reliability is not of primary importance if the user wants to send small message and user does
not care about the reliability then UDP is the best choice to send messages.
 So, UDP would make good transport protocol.
 There is some example of applications such as daytime, bootp, echo, SNMP and TFTP,
where reliability is not primary importance.

You might also like