Re: Sockaddr_un and long paths
Re: Sockaddr_un and long paths
- Subject: Re: Sockaddr_un and long paths
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Mon, 01 Sep 2014 09:11:37 +0100
On 29 Aug 2014, at 20:19, Dave Camp <email@hidden> wrote:
> Is this a hard coded limitation, or can I allocate a larger than normal socksddr_un struct if needed?
The latter. The length limit of sun_path is a historical oddity. The kernel will happily cope with any path up to 255 byte limit for the entire sockaddr_un imposed by sun_len.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden