Whats the best way to use the ICMP packages to monitoring network

  • Hello comunity.

    I try to do a software which sense host response, latency, jitter and package lost. For that I used ICMP packages but the way I found to use it is:


    where string = "ping" + hostIP

    The problem here is that the system call make a console windows open for every ping. How can I make the ping without the software open console? I think that the same problem I'd have if I use QProcess because I have to call cmd and then pass the argument ping+hostip

    Can I use Raw socket on Qt?

    Thanks all in advance.

  • Lifetime Qt Champion


    No, you won't have that problem with Process.

    You can use whatever C++ libraries you want with Qt.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.