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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.3
    • Component/s: Networking
    • Labels:
      None
    • Module:
    • Sprint:
      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
        2. CORE-11394.patch
          57 kB
        3. CORE-11394.patch
          30 kB
        4. dbg_r72750.log
          57 kB
        5. debug.log
          81 kB
        6. DnsQuery_A_fails.JPG
          DnsQuery_A_fails.JPG
          96 kB
        7. DnsQuery_A.7z
          192 kB
        8. DnsQuery_A.exe
          128 kB
        9. gethosbyname.7z
          194 kB
        10. GetIp_ROS_OK.png
          GetIp_ROS_OK.png
          36 kB
        11. GetIp_ROS_OK2.png
          GetIp_ROS_OK2.png
          35 kB
        12. GetIp_ROS_OK3.png
          GetIp_ROS_OK3.png
          38 kB
        13. GetIp_ROS_OK4.png
          GetIp_ROS_OK4.png
          60 kB
        14. GetIP_ROS.JPG
          GetIP_ROS.JPG
          61 kB
        15. GetIP_XP.JPG
          GetIP_XP.JPG
          30 kB
        16. getip.zip
          24 kB
        17. RemSrv_ROS.JPG
          RemSrv_ROS.JPG
          85 kB
        18. Screenshot_3.png
          Screenshot_3.png
          34 kB
        19. VirtualBox_ReactOS_26_09_2016_15_11_58.png
          VirtualBox_ReactOS_26_09_2016_15_11_58.png
          29 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: