Kai Timmer wrote:
> I am trying to send and receive packages via an ipv6 multicast. But I
> can't get it working. What I thought was, that on the listener site, I
> just need to bind my socket to the interfaces ipv6 local link address
> and on the sender site, to the multicast address (in my case ff02::).
> That doesn't work :)

On the receiving side, you also need to set the IPV6_JOIN_GROUP
socket option - else your kernel doesn't know you are interested in
packets for that address. You need to bind to the multicast port,
and optionally to the multicast address.

On the sending side, you just use sendto, passing the multicast
address as the recipient.

HTH,
Martin
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to