» An ultimate catalog of computer data
Forum posts for PING.EXE
getaddrinfo returns information whereas ping.exe says ip is unreachable
I work on a problem where I want to avoid a system to launch a connection retry when the target ip is not reachable. (The target ip can be on and off at different times in the day).
I can see that ping.exe returns correctly that host is unreachable.
However, in my code, calling getaddrinfo succeeds for the same ip address, and I suspect it only queries the dns cache.
Is there a way to force getaddrinfo not to use dns cache, or another function that would bypass the dns cache ?
View complete forum thread with replies
Other posts related to PING.EXE
See Related Forum Messages: Follow the Links Below to View Complete Thread
what would cause ICMPsendEcho to fail when ping.exe succeeds
getaddrinfo returns information whereas ping.exe says ip is unreachable
How can I print the progress of ping.exe on multiline TextBox? [duplicate]
TraceRoute and Ping in C#
Windows 7 Cmd requires file extensions. E.g. “ping 127.0.0.1” doesn't work, but 'ping.exe 12… [closed]