python traceroute

Denis McMahon denismfmcmahon at
Wed Jan 21 06:06:20 CET 2015

On Tue, 20 Jan 2015 19:37:26 -0800, Chandrakant Tiwari wrote:

> in the program below i want it to make it work  the same way as TRACERT 
> command.

As an observation, you're re-inventing a wheel that already works 
perfectly well, in that any failings of tracert tend to be more down to 
the way routers are configured to handle icmp than the tracert 
application itself. Unless you're doing this purely as an exercise in 
socket programming with python, it might be better to find a new problem 
to solve.

Denis McMahon, denismfmcmahon at

More information about the Python-list mailing list