On 12/04/2017 03:18 PM, Gregg Reynolds wrote:
> Last time I looked iotivity did not support nw monitoring for if address
> changes for Mac. This is 1.3.x code.
> 
> I'm looking into adding such support.  Anybody wanna help?
> 
> afaik on the Mac you must use the System Config framework. Ok. Not terribly
> hard. But it exposes a flaw in iotivity implementation, which conflates
> monitoring the nw for data vs. change events. I think those are distinct
> tasks and should not be glommed into CASelect etc. You can use select on
> Linux to detect nw events via netlink sockets, but that won't do on a mac,
> not to mention windows. So in short I think the code needs to be refactored.
> 
> Anybody else out there interested in macOS/iOS support?

There's already some factoring into target-specific code (linux,
android, tizen) in the only place I think this is used - the ip_adapter
chunk.   If it's still OS-dependent in an incorrect way, I can't see why
there would be an objection to fixing it.

As to "interested in"... there actually hasn't been enough interest, and
there's still no Mac/iOS maintainer, so the automated build instance got
dropped (for cost reasons, as I heard it).  It doesn't seem to be high
on most people's list...  there seem to be 3-4 people on the list who do
care at least a bit.

_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to