Ports < 1024 require admin rights on most OS. Never used Mac OS X but maybe
it has a mechanism similar to UAC(?)
Best Regards,

SZ
On Thu, Nov 3, 2011 at 18:17, Arno Garrels <arno.garr...@gmx.de> wrote:

> Hi,
>
> I'm currently porting the TFtpServer to OS X.
> I get error EACCESS on the attempt to bind a socket to port 21 on the Mac,
> higher port numbers work fine.
>
> So I searched the internet and found this:
> "When the address type of the socket identified by the socket_descriptor
> is AF_INET, the thread must have retrieve, insert, delete, and update
> authority to the port specified by the local_address field. When the thread
> does not have this level of authority, an errno of EACCES is returned."
>
> Nice, but does anybody know how to get the required permission?
> I started the app with sudo from the terminal but that didn't work either.
> Firewall is turned off.
>
> --
> Arno Garrels
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to