Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Flush DNS cache on Windows

    General and Desktop
    3
    3
    2054
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      usamytch last edited by

      Good day, colleagues!

      Are the any way to flush DNS cache in uniform way on Windows (XP, Vista, 7) with the help of Qt?

      1 Reply Last reply Reply Quote 0
      • A
        andre last edited by

        I don't think so, but I'm not entirely sure. I think you'll have to resort to platform dependent code.

        1 Reply Last reply Reply Quote 0
        • Z
          ZapB last edited by

          One way would be to use QProcess to execute:

          @
          ipconfig /flushdns
          @

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply Reply Quote 0
          • First post
            Last post