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. Network host information
Qt 6.11 is out! See what's new in the release blog

Network host information

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

    Hi. I am developing a network analyzer with Qt and Pcap. I have already managed to get the ip address and netmask from Pcap, but there are other information that I need, but haven't yet:

    • local DNS address
    • local gateway
    • local NIC mac address
    • local DHCP address

    I know that I can get all this information with Winsock, but I want to make a multi-plataform software. Is there a way to get this information with the Qt?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      prady_80
      wrote on last edited by
      #2

      http://qt-project.org/doc/qt-4.8/qtnetwork.html

      especially:
      QHostAddress
      QHostInfo
      QNetworkAddressEntry
      QNetworkConfiguration

      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