On 22 Feb 2019, at 15:16, Neil Alexander <neilalexan...@neilalexander.eu> wrote:

> I am assuming that there is some low-level syscall/ioctl or similar that 
> causes AWDL to "wake up", as I figure that the NetService/Multipeer 
> Connectivity APIs have some method for doing this.

That’s correct.  However, the special sauce required to make this work was not 
part of our public SDKs, at least the last time I checked.

Historically the only way to accept incoming TCP connections over peer-to-peer 
Wi-Fi was via `NSNetServiceListenForConnections`.  On modern systems you should 
also be able to do it via `NWListener`.  That’s a step in the right direction — 
`NWListener` at least supports UDP — but it doesn’t get you all the way because 
Network framework currently does not support multicast.

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      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to