Ping

This program allows you to Ping a remote server and measure the elapsed time using QueryPerformanceCounter. Also allows you to get a machine's IP address without needing an external dll.


Win API Functions used:

FormatMessage
GetComputerName
gethostbyaddr
gethostbyname
gethostname
GetLastError
IcmpCloseHandle
IcmpCreateFile
IcmpSendEcho
inet_addr
QueryPerformanceCounter
QueryPerformanceFrequency
RtlMoveMemory
WNetGetUser
WSACleanup
WSAGetLastError
WSAStartup


——— Last updated 07/14/2022 ———