Re: Ping from Qt Application
Quote:
Originally Posted by
Axtroz
Is there any limitation in Qt apps for using raw sockets
No. Especially since that you're not using Qt API for operating the socket.
Quote:
or something else is denying the operation? Thanks!
Does it work if you run it as root?
Re: Ping from Qt Application
Yes, it ran as root. It ran with setuid/setgit and setcap later, after I figured out that everytime I run the program from QtCreator via Run it builds and replaces the old executable with a new one without special privileges :) I ran it from the build folder and everything was fine.