Suppose I have captured an icmp packet using winpcap on windows in visual c++.
Now how do I find out the i.p addresses and other info related to that icmp packet ??
Code:
void packet_handler(u_char *param, const struct pcap_pkthdr *header, const u_char *pkt_data)
This is my packet handler function