I'm writing a C++ program using Opencv and Boost libraries. Until now, I was using Kate and was executing my program using the Terminal with root privileges.
I decided to move to eclipse, but ran into problems executing the program since it needs root privileges which cannot be given using eclipse.
I noticed that in order to use
boost::asio::ip::udp::socket _socket(io_service, boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), 13));
a program needs root privileges.
Can I somehow use udp sockets without having to give the program root privileges?
Any help would be appreciated.