Qt Forum

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

    Set packet TTL with QT Network library

    General and Desktop
    2
    3
    3063
    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!

      I'm trying to write cross-platform traceroute application in QT. Can I set packet TTL with the help of QT or I should create socket using operating system API (non-crossplatform way) first before using QUdpSocket?

      1 Reply Last reply Reply Quote 0
      • D
        dangelog last edited by

        You can't using Qt API at all, but have to switch to raw sockets.

        Software Engineer
        KDAB (UK) Ltd., a KDAB Group company

        1 Reply Last reply Reply Quote 0
        • U
          usamytch last edited by

          Thank you for the answer!

          It means that I shoud use operating system-dependent libraries?

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