Note: My preference to solve this problem is to use UDPClient, but berkley Socket classes will work as well.
Question: I have been searching everywhere on how to read the "TTL" of incoming packets, but I can't find this anywhere. I know that
Socket s = new Socket(ipe.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
s.Ttl;
lets me get or set the Ttl for outgoing packets, but I want to read the ttl value on incoming packets. I'm having a tough time parsing anything outside of the data portion of incoming packets, but my goal is to do logic on and eventually record entire packets containing the UDP and IP header and all. What am I misunderstanding here?