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. Explore nodes on a subnet
Qt 6.11 is out! See what's new in the release blog

Explore nodes on a subnet

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 732 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.
  • M Offline
    M Offline
    moravas
    wrote on last edited by
    #1

    Hi Folks,

    I have a "server" application that has to explore the reachable clients on its own subnet. I would like to use TCP but the UDP is also allowed...
    Can anybody tell me, how can I do that? If it is possible, can I have some code snipets?

    Regards,
    Norbert

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Seba84
      wrote on last edited by
      #2

      See this "link":http://qt-project.org/doc/qt-5/topics-network-connectivity.html. All you need is there.

      bq. Classes like QTcpSocket and QUdpSocket enable the developer to send and receive messages using the TCP or UDP protocol.

      There is also this "TCP example project":http://qt-project.org/doc/qt-5/qtnetwork-fortuneserver-example.html.

      1 Reply Last reply
      0

      • Login

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