Home > Web Site Updates > CPing v1.42

CPing v1.42

May 2, 2016

Just to let everyone know that v1.42 of CPing has been released. Updates for this version include:

  • Updated copyright details.
  • Updated the sample project settings to more modern default values.
  • Updated the code to compile cleanly on VC 2010 – 2015.
  • Replaced all calls to TRACE with ATLTRACE
  • Code no longer uses LoadLibrary without an absolute path when loading Iphlpapi / ICMP dlls. This avoids DLL planting security issues.
  • Removed code from CPing::DecodeResponse which checks i_type & i_id header values.
  • Made class MFC independent. Now the code only depends on ATL.
  • Removed code from CPing::PingUsingICMP which parses the response.
  • Added support for IPv6 in addition to IPv4. This means that the minimum supported version of VC which supports CPing is now VC 2008. The sample now ships with a VC 2008 solution.
  • Code now supports IcmpSendEcho2Ex which supports IPv4 source address binding
  • Removed the PingUsingWinsock method from the class as all the ping functionality can now be achieved via the Icmp* Windows API calls. This means that the CPING_NO_ICMP and CPING_NO_WINSOCK2 preprocessor values are defunct and have been removed.
  • Added SAL annotations to all the code.
  • Added support for the IP_FLAG_REVERSE IP_OPTION_INFORMATION flag.
  • Addition of GetICMP_ECHO_REPLY and GetICMPV6_ECHO_REPLY methods to the CPingReply class which allow access to the raw ICMP echo reply structure.
Categories: Web Site Updates
%d bloggers like this: