I need your help on planetlab raw socket APIs.
I wrote a ping using the safe raw socket, but it does not work.=3D
In my program, once I wrote bytes to a created raw socket, a=3D
parameter error always occured. The codes of my ping are=
nearly=3D
the same as those in Richard Steven's "UNIX Networking=3D
Programming" except those which bind the socket to an ICMP=3D
identifier. If I compile it on a normal linux machine, the=3D
program works correctly.
Maybe you can give me the source code of planet-lab ping or=3D
some advice. Thank you very much!
Yours,
Ruixiong Tian
|