title: Getting TTL of incoming UDP packet in Python
body: <p>I'm using the socket module in Python to do some basic UDP client-server communication. What I would need to do is quite simple: client sends server a packet, server answers with client's public ip address, port and a number representing the TTL the UDP packet had when it got to the server. This is my main problem: is there any way to recieve a packet with recvfrom() or so, and read the TTL value it had when it reached my server?</p>
  
  <p>Thank you very much!</p>
  
  <p>Matteo Monti</p>