I'm wanting to use a Unix domain socket to communicate between an iOS app and its iOS 8 extension when they are both running. I've written some test code where I bind the socket to a path in a shared app group container and it appears to work fine on my phone. I can send messages back and forth with no issues. So far so good. However, the path to a shared app group container on iOS is 84 bytes long (plus whatever file name I tack on) and sockaddr_un.sun_path only holds 104 bytes. I'm nervous that a future change to app group paths would push me over the size limit. Is this a hard coded limitation, or can I allocate a larger than normal socksddr_un struct if needed? Or, is there a better way to handle this? Thanks, Dave _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists... This email sent to site_archiver@lists.apple.com
participants (1)
-
Dave Camp