[issue11247] Error sending packets to multicast IPV4 address
report at bugs.python.org
Sat Feb 19 11:36:14 CET 2011
Charles-Francois Natali <neologix at free.fr> added the comment:
Are you using a default gateway ?
Are you sure this gateway supports multicast ?
See for example http://www.sockets.com/err_lst1.htm#WSAENETUNREACH :
WSAENETUNREACH (10051) Network is unreachable.
Berkeley description: A socket operation was attempted to an unreachable network.
WinSock description: Almost same as Berkeley. For WinSock, this error is equivalent to Berkeley's EHOSTUNREACH error, the catch-all error for unreachable hosts. "You can't get there from here."
TCP/IP scenario: The local network system could generate this error if there isn't a default route configured. Typically, though, WinSock generates this error when it receives a "host unreachable" ICMP message from a router. The ICMP message means that a router can't forward the IP datagram, possibly because it didn't get a response to the ARP request (which might mean the destination host is down). Note: this error may also result if you are trying to send a multicast packet and the default gateway does not support multicast (check your interface configuration).
By the way, when you submit this kind of issue, it's a lot easier to analyse if you provide a sample code.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list