On Sat, Feb 09, 2008 at 11:05:34PM -0500, Steve Holden wrote: > Tim Roberts wrote: > > maehhheeyy <[EMAIL PROTECTED]> 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? > > > > Where did you get the multicast module? Are you trying to do TCP > > multicast? What is the address you are trying to use? > > TCP multicast? That doesn't make sense, there can only be two endpoints > to a TCP connection. But *you* know that.
TCP multicast exists. There are special IP ranges for it, but it also takes special support in the local network. The fact that he used MCAST_ADDR made me suspicious of that, hence my question. > Couldn't the port just be in use? That usually gets 10048, "address in use". -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boeklheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list