> I get the following error: "socket.error: [Errno 22] Invalid
> argument". So it complains about the multicast address.
The fragment
py> import socket
py> s = socket.inet_pton(socket.AF_INET6, "ff02::1")
py> sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
py> sock.bind(('', 9090))
py> s
On 13 Apr., 19:51, "Martin v. Löwis" wrote:
> 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.
If I d
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 f