Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Time to live is a
mechanism that limits the lifespan of data in a computer or network. TTL
may be implemented as a counter or timestamp attached to or embedded in
the data. Once the prescribed event count or timespan has elapsed, data
is discarded. In computer networking, TTL prevents a data packet from
circulating indefinitely. In computing applications, TTL is used to
improve performance of caching or improve privacy. Under the Internet
Protocol, TTL is an 8-bit field. In the IPv4 header, TTL is the 9th
octet of 20. In the IPv6 header, it is the 8th octet of 40. The maximum
TTL value is 255, the maximum value of a single octet. The time-to-live
value can be thought of as an upper bound on the time that an IP
datagram can exist in an Internet system.