have you run the program as an administrator?
I would like you to check this :http://netresearch.ics.uci.edu/kfujii/jpcap/doc/faq.html
Can you tell me what output are you getting in ubuntu?
What your output is showing is: that request is not going out of localhost.
Joined: Jan 05, 2010
yeah, i'm the administrator of this computer.
In Ubuntu, it works pretty well.
It shows me all the hops.
I really don't know why it does not works on Windows XP.
Joined: Feb 05, 2010
I can only let you know what's happening here:
Your request is not able to go outside your PC.
So, it keeps on pinging inside only.
What I can suggest is:
1) Make sure you have connected to correct interface (means to the interface from which packet is going outside).
So, check out for the interfaces first and connect to the correct interface.
2) in your code I am not able to find the server you're pinging/sending packet to (like google, yahoo etc).
See, your program is working. So, there's only a small alteration need to be done. So, carefully analyze each step. You'll get to know.