Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The short answer is you use <a href="https://stackoverflow.com/questions/603852/multicast-in-python">multicast packets in python</a>. I believe there are also python bindings for <a href="http://avahi.org" rel="nofollow noreferrer">avahi</a>, which implements "ZeroConf" aka mDNS/DNS-SD, which is implemented on top of multicast and would save you having to reinvent the wheel as well as being more standard.</p> <p>Multicast sits somewhere in between unicast (packets going to one host) and broadcast (packets going to all hosts) in that it allows host (via applications running on them usually) to register an interest in certain multicast groups. Multicast traffic can cross routers as well as switches, with appropriate support and the idea is that a minimum spanning tree gets built for sending packets to all subscribed hosts. In IPv4 multicast uses the 224/4 subnet. For IPv6 this is ff00::/8. In ethernet multicast addresses are mapped onto MAC addresses (i.e. have the multicast bit set to 1 in the MAC address), which makes efficient filtering of multicast streams possible.</p> <p>Routers running RIPv2 for example use multicast to discover other neighbouring routers and share their routes without bothering hosts which have no interest in RIP.</p> <p><a href="http://en.wikipedia.org/wiki/Zero_configuration_networking#Apple.27s_protocol:_Multicast_DNS.2FDNS-SD" rel="nofollow noreferrer">mDNS/Bonjour/Rendevouz</a> is an approach to automatic service discovery that uses one multicast group to share DNS style messages listing available services on a LAN.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload