On quarta-feira, 3 de fevereiro de 2016 10:34:04 PST Light, John J wrote:
> Thiago,
> 
> My experience is that the default behavior is IPV6_MULTICAST_LOOP == true.

Indeed it is and a quick test in Python confirms it.

import socket
f=socket.socket(socket.AF_INET6, socket.SOCK_DGRAM, 0)
f.bind(('::', 1234))
f.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_JOIN_GROUP, 
        b'\xff\x03\0\0\0\0\0\0\0\0\0\0\0\0\0\xfd\0\0\0\0')
f.sendto(b'\n', ("ff03::fd", 1234))
print(f.recvfrom(1))

prints:
(b'\n', ('fe80::210:60ff:fe31:9bb1%usb0', 1234, 0, 44))

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Reply via email to