Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Set packet TTL with QT Network library
Forum Updated to NodeBB v4.3 + New Features

Set packet TTL with QT Network library

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.2k Views 1 Watching
  • 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 Offline
    U Offline
    usamytch
    wrote on 14 Feb 2011, 12:32 last edited by
    #1

    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
    0
    • D Offline
      D Offline
      dangelog
      wrote on 14 Feb 2011, 13:23 last edited by
      #2

      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
      0
      • U Offline
        U Offline
        usamytch
        wrote on 14 Feb 2011, 13:55 last edited by
        #3

        Thank you for the answer!

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

        1 Reply Last reply
        0

        3/3

        14 Feb 2011, 13:55

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved