Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-9994

Ping utility should migrate to IPHLPAPI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 0.4.3
    • Applications
    • None

    Description

      "Ping" should be re-implemented by using IPHLPAPI.

      Besides being much more simplified in code complexity (probably, the biggest part would be the parsing of the options!), it will be useful to do that also for implementing missing features like IPv6: everything would be abstracted by calling the right functions, for example IcmpCreateFile() or Icmp6CreateFile() depending on what you would like to run.
      It must be said that it would be an useful tool also on Windows 2000 and XP, because for them it exists a separate tool called "ping6" for running IPv6, rather than having a single utility for both, while it exists instead in the next versions of the OS.

      Unfortunately, this is (partially) blocked by the fact that ICMP functions are not available in the current implementation of IPHLPAPI. Those functions must migrate from ICMP.DLL to IPHLPAPI.DLL one day, as it has been done in the WINE code base.

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              Carlo Bramix Carlo Bramix
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: