[9fans] Multicast examples

2016-09-12 Thread Chris McGee
Hi All, I'm looking at setting up a multicast dns on plan9. First, I need to be able to write a mdns server and client. I see from the net manual page that there are references to multicast, namely addmulti and remmulti ctl messages. I'm not entirely sure how they work. Does anyone know of mul

Re: [9fans] multicast

2015-05-24 Thread Jeff Sickel
Steve, Did you ever figure out how to setup addmulti? -jas > On Oct 6, 2014, at 10:41 AM, Steve Simon wrote: > > I am trying to listen to multicast DNS packets > but when I try to configure the IP interface it fails, > what am I missing? > > I do this (multicast with promiscuous) > > s

[9fans] multicast

2014-10-06 Thread Steve Simon
I am trying to listen to multicast DNS packets but when I try to configure the IP interface it fails, what am I missing? I do this (multicast with promiscuous) snprint(addr, sizeof(addr), "%s/udp!*!*", Netdir); if((cfd = announce(addr, dir)) < 0) sysfatal("%s canno

Re: [9fans] Multicast

2012-12-24 Thread erik quanstrom
On Mon Dec 24 14:12:52 EST 2012, adriano.vera...@mail.com wrote: > Hi, all I need to define a unicast group to implement an application > on a set of cooperative CPUs. The ip(3) man page is (for me) not > clear enough and searching for "multicast" etc in /sys/src/*/*/... > doesn't give any useful

[9fans] Multicast

2012-12-24 Thread Adriano Verardo
Hi, all I need to define a unicast group to implement an application on a set of cooperative CPUs. The ip(3) man page is (for me) not clear enough and searching for "multicast" etc in /sys/src/*/*/... doesn't give any useful result. The same looking in sources/contrib Where can I find an exam

Re: [9fans] Multicast example

2010-06-23 Thread erik quanstrom
> However, I'm not quite sure about receiving. > I see an "addmulti" in ip(3) but I don't quite understand the comment > and I couldn't penetrate the source. what comment? unfortunately, where ip(3) says "media address", i think it really means ip address. the code says it accepts addmult

[9fans] Multicast example

2010-06-22 Thread Justin Wilson
How does one send/receive multicast packets? I'm assuming that in order to send, one uses something like: dial("udp!224.100.100.100!64470", nil, nil, nil) However, I'm not quite sure about receiving. I see an "addmulti" in ip(3) but I don't quite understand the comment and I couldn't penetrate th