TTL is value in a data packet of Internet Protocol. It communicates to the network router whether or not the packet should be in the network for extended or discarded. Usually, data packets might not be carried to their intended destination within a specified period of time. The TTL value is defined by a system default value which is an 8-bit binary digit field in the header of the packet.
The aim of TTL is, it would define a certain time limit in seconds, for sending the packet header. When the time is depleted, the packet would be discarded. Each router receives the decreases count when the packet is dropped, and when it becomes zero, the router identifies the dropped packet and sends a message, Internet Control Message Protocol message back to the originating host.
TTL(time to live) apart from determining the lifetime of a packet in a network also helps in evading the wastage of bandwidth.
Regards,
Nitesh Bavishiya