My application is testing devices connectivity using ping (ICMP) functionality. It is working fine for all devices but for a particular device that is CISCO wireless controller it is not able to ping the device. I am able to ping the device through command prompt but when i debug my application i found that i am able to send ping but not able to receive for the device.After doing further analysis i found that select() function is returning 0. I am not sure why this is happening. Also i have got wireshark captures and found that the packets i am sending have correct ICMP checksums but the ICMP echo reply packets have incorrect checksum. It seems due to this the packets have been discarded. Please suggest how to resolve the issue and also is there any way to disable ICMP checksum check.
patthar 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.