--- On Mon, 6/13/11, Maarten Koopmans <maarten.koopm...@gmail.com> wrote:
> Hi,
> 
> Is there a way to send or receive multicast in livecode? I
> want to use that
> with a TTL=2 so devices on the same network can discover
> each other
> (cross-platform).
> 
> Thanks,
> 
> Maarten
> 

Hi Maarten,

LiveCOde has no built-in support for multicast, but you could try UDP datagram 
broadcasting instead. If you're looking for an implementation of Zeroconf (aka 
Bonjour in Apple parlance), you might consider using a separate Java process to 
leverage the JmDNS library.

I wrote up a blog post a while back:
<http://quartam.blogspot.com/2011/01/zeroconfbonjour-in-livecode-with-jmdns.html>
And I refined it slightly for my RunRevLive.11 presentation on Extending 
LiveCode with Java, for which you can download the source code here:
<http://downloads.quartam.com/elcwj.zip>

Of course this won't work on a platform that lacks a Java runtime (iOS) but 
it's a great feature for any desktop application.

HTH,

Jan Schenkel.
=====
Quartam Reports & PDF Library for LiveCode
www.quartam.com

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to