UDP Segment Structure
The primary purpose of the UDP protocols is to expose datagram's to the application layer. The UDP protocols does very little and therefore employs a simple header structures UDP packet called user datagram have a fixed size header of 8 bytes. Figure shows he format for of a user datagram. The fields are as follows.