Need Help to extractation from ARP packets
I have constructed a program to generate ARP packets. To receive reply packets, I've used recvfrom() function. Now my problem is that I could not extract MAC and IP addresses from reply packet properly. It shows some garbage value while I want to use MAC and IP addresses from reply packet as string.
Anybody could help me????
|