Search code examples
actionscript-3udptraceroute

How do I set the TTL of a UDP packet in actionscript 3?


I want to make traceroute in the browser via flash. I asked about ICMP packets, but another alternative would be UDP packets if I could set the TTL. However, I don't see that option in flash.net.DatagramSocket. Is it possible?


Solution

  • You cannot use UDP in a web browser via flash. the Datagram socket is only accessible when running in the AIR player.

    Your best option is a signed java applet.