Re: python traceroute

2015-01-21 Thread William Ray Wing
> On Jan 21, 2015, at 12:06 AM, Denis McMahon wrote: > > 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 we

Re: python traceroute

2015-01-20 Thread Denis McMahon
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 r

Re: python traceroute

2015-01-20 Thread Steven D'Aprano
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 . but i am not able to make it work the same way . for which i > need your help thank you What is the difference between TRACERT and your Python s

python traceroute

2015-01-20 Thread Chandrakant Tiwari
in the program below i want it to make it work the same way as TRACERT command . but i am not able to make it work the same way . for which i need your help thank you here is the program #!/usr/bin/python import socket import struct import sys # We want unbuffered stdout so we can pr