[SOLVED] Debugging program with sockets requires root.
I'm writing simple web server using linux system sockets (this must be fast, i'm fighting for ms, so i don't use QTcpServer).
To bind and accept connection on socket i must run program as root.
Of course, running complex IDE such as QtCreator as root brings lot of problems.
So i just wonder, is there any solution to run and debug such project in QtCreator?
I'm using 80 and 443 ports, so they are reserved.
For development purpose you should rather use a free port i.e. port number over 1024 like 8000 which is a classic for development servers
Okay, seems like it is the only solution, but it's simpliest.
Thank you, at least now im sure :)
You're welcome !
A port number is just that, whether it's 80 or 8000 doesn't matter from an implementation point of view.
Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)