yeah thats correct actual/known PING program uses RAW sockets.
Iam working on my masters project and in that i needed to find "distance between given nodes" .. distance can be any metric like how many hops away,how much time it takes to go frm one nore to other etc,.
i tought i can construct an ICMP-ECHO message and send to the other node and get reply and parse the receive messages to get the required data,as used in PING/Traceroute programs. but problem here is,as said, they need/use raw sockets. so i thought of asking if any body knew any method of getting the work done w/o RAW sockets.
if not this info.. any suggestions on how to get the above said information would be great!!
thanks
|