Traceroute function in AS3?

Hi. I searched the web and this forum and so far haven’t found exactly what I am looking for. I am looking for either example AS3 code or an as3 library for performing a traceroute from AS3. I am assuming this can be done using the TCP binary socket support in AS3, which I already use extensively. But I’ve never written traceroute myself, I’ve always just used a library to perform this.

The use case here is for an Adobe AIR application that I want to be able to bundle with my AIR application to help troubleshoot slow performance. I’ve shipped similar support tools with my previous web and native software products. It can be incredibly helpful to stop guessing and show users exactly why things are loading/running/streaming slowly!

All tips appreciated.