On Tue, Jul 17, 2018, 2:48 PM Gregg Reynolds <d...@mobileink.com> wrote:

>
>
> On Tue, Jul 17, 2018, 9:31 AM Mats Wichmann <m...@wichmann.us> wrote:
>
>> On 07/16/2018 03:27 PM, Ignacio Ocampo wrote:
>> > Great, let me switch to the master branch and make the adjustments to
>> fix
>> > the build for OSX.
>> >
>> > Regarding the network monitoring improvement suggested from Gregg and
>> other
>> > improvements, I don't understand, I thought it was enough compile, pass
>> the
>> > tests and build, isn't?
>>
>> There are dependencies on operating system services in various parts of
>> the code, some smaller, some larger.  There are some efforts at these
>> for OSX and iOS "from before", but they may or may not be correct and/or
>> up to date, and, most particularly, there may or may not actually be
>> good tests which confirm the behavior; the days when the Mac was
>> considered a relatively supported platform are "before my time", and the
>> technologies covered by iotivity have evolved quite a bit over time. So,
>> at the very best, expect what we might call bit rot, at worst new stuff
>> that needs writing.  Gregg seems to have a lot better handle on what
>> might be needed!
>>
>
> The network monitoring stuff is an implementation detail; it is not
> required by the spec, AFAIK.
>

A bit more detail. Linux code uses netlink sockets. That's not supported by
Darwin. Going by memory the current code just skips nw monitoring for
Darwin. So it runs, it just does nothing if you lose or gain nw connection.

To support Darwin you need some apple wierdness - it's maddeningly
difficult to find out just what on the web. OpenOCF does it one way, but
you could presumably find other ways (e.g. kernel stuff, ... )

Hth

G

>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9782): 
https://lists.iotivity.org/g/iotivity-dev/message/9782
Mute This Topic: https://lists.iotivity.org/mt/23534908/21656
Group Owner: iotivity-dev+ow...@lists.iotivity.org
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to