Re: Wifi handshake for Multipeer Connectivity to allow greater client separation?
Re: Wifi handshake for Multipeer Connectivity to allow greater client separation?
- Subject: Re: Wifi handshake for Multipeer Connectivity to allow greater client separation?
- From: Jens Alfke <email@hidden>
- Date: Tue, 19 Jan 2016 16:37:17 -0800
On Jan 19, 2016, at 3:06 PM, Michael Norris < email@hidden> wrote:
Or, perhaps: does anyone know of any third-party solutions for multipeer connectivity on OS X that occur solely over Wifi, including the initial handshake?
You can use the regular Bonjour APIs (NSNetService, etc.) to discover peers, and those work over WiFi or Bluetooth. But they’re lower level and don’t give you the easy message-oriented communication or multicast delivery that MPC does. Basically you get a TCP socket and are left to your own devices to communicate over it.
It’s possible someone’s already implemented a library to provide MPC functionality on top of NSNetService, but if so I haven’t heard of it. There are some frameworks for doing 1::1 messaging, though, like my BLIP < https://github.com/couchbaselabs/BLIP-Cocoa>.
—Jens |
_______________________________________________
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