Re: sending and receiving ipv6 multicasts
- From: "Martin v. Löwis" <martin@xxxxxxxxxxx>
- Date: Mon, 13 Apr 2009 19:51:01 +0200
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
.
- Follow-Ups:
- Re: sending and receiving ipv6 multicasts
- From: Kai Timmer
- Re: sending and receiving ipv6 multicasts
- References:
- sending and receiving ipv6 multicasts
- From: Kai Timmer
- sending and receiving ipv6 multicasts
- Prev by Date: Re: numpy permutations with replacement
- Next by Date: Re: Data Model:
- Previous by thread: sending and receiving ipv6 multicasts
- Next by thread: Re: sending and receiving ipv6 multicasts
- Index(es):
Relevant Pages
|