title: what would cause ICMPsendEcho to fail when ping.exe succeeds
body: <p>I have an interesting situation on my hands, and I'm not quite sure how to go about troubleshooting it.  I did a few searches for something similar to my situation, but nothing quite matches it.  If the answer already exists somewhere here, I would appreciate anyone that could point me in the right direction.</p>
  
  <p>Ok, to the point. </p>
  
  <p>I'm writing a watchdog application for monitoring internet connectivity.  Its designed to ping a set of domains at a set interval, and when any of them respond to the ping, the status timer is reset.  If the status timer ever goes beyond a set threshold, several stages of corrective action are attempted to fix the problem.</p>
  
  <p>Simple enough right?</p>
  
  <p>Here's where it gets weird.</p>
  
  <p>I'm using ICMPsendecho to issue the ping request.  On my development environment (win7) it seems to work fine, testing and everything went smoothly.  However, in the environment where its being deployed it fails to receive a response. The deployment environment is a windows XP sp3 machine.</p>
  
  <p>Throughout the trouble shooting process I've noted several things, which may or may not be helpful in actually trying to solve this problem.</p>
  
  <p>windows ping.exe works just fine on the deployment environment for all of the domains i'm using to test connectivity status, its only my ICMPsendecho calls that seem to fail to generate responses.  </p>
  
  <p>I've installed wireshark on deployment environment and I can see packets being issue successfully for the requests on both types of ping.  the windows ping generates request packets with a length of 74 bytes, and my programs call generates packets with a length of 42 bytes.  Windows response packets are similarly 74 bytes when they are received.</p>
  
  <p>Switching to the development environment for a minute, with wireshark installed.  Windows ping generates a similiar circumstance as in the deployment environment with the packets.  However, my application, when it generates requests the packets are 42 bytes in length(same as the deployment environment), but the responses it receives are 60 bytes in length.  </p>
  
  <p>As i said, that information may or may not be useful, but I'm trying to find out why this application is failing to generate ICMP responses when windows ping seems to work fine on that machine.</p>
  
  <p>Another little tidbit that may help, the internet connection were monitoring uses AT&amp;T's elevate 4g hotspots, the actual device is a sierra wireless MC8790 AirPrime card.</p>
  
  <p>Anyone have any ideas on why these pings are failing?</p>
  
  <p>thanks ahead of time for any useful information you might have and for taking the time to read my post.</p>
  
  <p>PS.</p>