I'm currently writing a program that opens a raw Ethernet socket. I use "sudo" to run it at the commandline.
How can I use the Code::Blocks IDE to debug it? I've tried replacing "gdb" with a script that runs gdb as root, but it didn't work out.
Is there anything I can do to my Linux machine to make it so that anybody can open a raw socket without the need for "sudo"?