<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi there,<br>
<br>
On 17/06/13 10:51, Tor Lillqvist wrote:<br>
</div>
<blockquote
cite="mid:CANGFS+_DPZ+YSkfPgTKO+43b8MpK_LGUp5q1iqyRF+8jp6MPzg@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><br>
</div>
<div>It seems that Bonjour has some great support for
Mac and iOS device so I can search for running mac
libreoffice instance on the local network. But I'm not
sure if we have some nice c++ native support (and also
are there any windows, linux support for Bonjour?) for
that since libreoffice is supposed to work
cross-platform. </div>
</div>
</blockquote>
<div><br>
</div>
<div style="">I think the implementation for Linux is called
Avahi. Not sure about Windows. <br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Some notes from last year:<br>
-Initial plan was to use dns-sd/Bonjour/Avahi which seems to be well
supported by most systems.<br>
-This was scrapped since Android doesn't work well with dns-sd
(although newer versions, possibly from 4.0 do apparently have
proper support).<br>
-Hence a custom discovery protocol was devised (multicast packets,
see
android/sdremote/src/org/libreoffice/impressremote/communication/ServerFinder.java
for an example of the client end).<br>
<br>
For future use dns-sd is probably wisest -- especially if one
assumes that Android support for dns-sd will be widespread (i.e.
older incompatible versions no longer used).<br>
<br>
W.r.t to actual support for this, as far as I remember it was:<br>
- Bonjour for Mac<br>
- Avahi for Linux<br>
- Bonjour for Windows too, but would require shipping the Bonjour
binary along with LO.<br>
<br>
Alternatively there are things like pyZeroConf and jmdns which coud
offer simpler cross-platform support: I have no idea about how
usable these are, but I gather jmdns is the library of choice for
accessing dns-sd records from android (but as mentioned that doesn't
work very well).<br>
<br>
(I'd be willing to look into the Linux and Windows implementations,
although I probably won't have much time for that until I'm back
home / end of June.)<br>
<br>
Cheers,<br>
<br>
Andrzej<br>
<br>
</body>
</html>