• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Waking up AWDL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Waking up AWDL


  • Subject: Re: Waking up AWDL
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Fri, 22 Feb 2019 15:43:19 +0000

On 22 Feb 2019, at 15:16, Neil Alexander <email@hidden> 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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Waking up AWDL
      • From: Neil Alexander <email@hidden>
References: 
 >Waking up AWDL (From: Neil Alexander <email@hidden>)

  • Prev by Date: Waking up AWDL
  • Next by Date: Re: Waking up AWDL
  • Previous by thread: Waking up AWDL
  • Next by thread: Re: Waking up AWDL
  • Index(es):
    • Date
    • Thread