What is a Datagram?
A Datagram is a Protocol Data Unit used by the User Datagram Protocol on the Transport Layer. associated with a packet-switched network.
Protocol Data Units (PDU) on UDP and TCP?
Protocol Data Units are known as Datagram on a quick and unreliable protocol like UDP, however, on the TCP protocol, the same Protocol Data Units is called as Segment.