[Wine] binding to privileged Linux ports (<= 1024)

Martin Gregorie martin at gregorie.org
Sat Feb 6 08:46:30 CST 2010


On Sat, 2010-02-06 at 01:20 -0600, mc2718 wrote:
> Hi, could someone please explain how I can get wine to fully mimic
> Windows behavior and let me bind to privileged Linux ports, most
> importantly 80 and 843? Thanks for any pointers.
> 
See CAP_NET_BIND_SERVICE in      man 7 capabilities

To set the capability, see       man 3 cap_set_fd
                                 
also look up socket(), bind(), listen()


Martin






More information about the wine-users mailing list