Questions tagged [icmpsendecho2]

3 questions
4
votes
1 answer

IcmpSendEcho2 fails with fails with WSA_QOS_ADMISSION_FAILURE and ERROR_NOACCESS

I have an application that pings a bunch of servers. It runs great for days, but suddenly will have many failures of one of two types: WSA_QOS_ADMISSION_FAILURE (11010) "A QoS error occurred due to lack of resources" or ERROR_NOACCESS (998)…
DougN
  • 4,407
  • 11
  • 56
  • 81
0
votes
1 answer

Is there a way I can set the TTL (time to live) as an argument when compiling this small ping application

I am building a small application for the ICMP protocol (ping) using Echo request and reply. The Time to live (TTL) is set by default to the receiver's TTL and I was wondering if I can get help in setting a custom TTL as an argument when compiling…
0
votes
1 answer

IcmpSendEcho2 async callback not working (c++, vs2010, win7)

Here is testing code, I'm trying to understand callbacks with IcmpSendEcho2; my callback does not fire. I tried to move icmp functions to other thread (link), but got no result. I tried to use XP callback style (here I'm not surprised to get…
abrakadobr
  • 11
  • 6