Error on Python

Zara yozara at
Mon Feb 11 08:18:11 CET 2008

On Sat, 9 Feb 2008 10:26:26 -0800 (PST), maehhheeyy
<maehhheeyy at> wrote:

>Hi, right now I'm using Python and Multicast. I have the code for
>Multicast receiver on Python but I keep getting this error;
>File "<string>", line 1, in bind
>error: (10049, "Can't assign requested address")
>The error is coming from this line;
>sock.bind ((MCAST_ADDR, MCAST_PORT))
>Can anyone please help me solve this problem?

This error typically arises when the address is neither the IP address
of a network connection or
 If you are trying to connect an IGMP socket under Windows, it may not
be treated as a normal socket. You must use the corresponding
setsockopt() options, and I am not sure if they are available throguh

Search MSDN for IGMP, or lok directly at:

If you are trying on *NIX SO, I don't know if this is applicable

best regrads,


More information about the Python-list mailing list