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

DnsQuery_A fails when called with localhost name as DNS name to be queried.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.3
    • Networking
    • None
    • September 2016

    Description

      not a big program-example, returns the IP address of the computer. In XP everything works in the ROS - no

      The screen shots shows the output of this program in XP and ROS. getip.zip - the program itself with the source code.

      P. S. the program keeps a log of the results of calling functions from wsock32.dll in the process of obtaining the IP address.

      CORE-11394.patch fixes:

      • Move DnsQuery implementation from Ansi to Unicode and make Ansi a wrapper to Unicode.
      • Handle (some) DnsQuery flags.
      • Move checks in hosts and ip type from mswsock to DnsQuery.
      • Move network info query from adns to DnsQuery.
      • Use Registry key to read services in mswsock instead of static path.
      • Make america grea.. I mean mswsock true Unicode again.

      Attachments

        1. CORE-11394.patch
          57 kB
          hater
        2. CORE-11394.patch
          57 kB
          hater
        3. CORE-11394.patch
          30 kB
          hater
        4. dbg_r72750.log
          57 kB
          amber
        5. debug.log
          81 kB
          amber
        6. DnsQuery_A_fails.JPG
          96 kB
          amber
        7. DnsQuery_A.7z
          192 kB
          vicmarcal
        8. DnsQuery_A.exe
          128 kB
          vicmarcal
        9. gethosbyname.7z
          194 kB
          vicmarcal
        10. GetIp_ROS_OK.png
          36 kB
          hater
        11. GetIp_ROS_OK2.png
          35 kB
          hater
        12. GetIp_ROS_OK3.png
          38 kB
          hater
        13. GetIp_ROS_OK4.png
          60 kB
          hater
        14. GetIP_ROS.JPG
          61 kB
          amber
        15. GetIP_XP.JPG
          30 kB
          amber
        16. RemSrv_ROS.JPG
          85 kB
          amber
        17. Screenshot_3.png
          34 kB
          vicmarcal
        18. VirtualBox_ReactOS_26_09_2016_15_11_58.png
          29 kB
          Jedi-to-be

        Issue Links

          Activity

            People

              AmineKhaldi AmineKhaldi
              amber amber
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: