Problems with Demo/sockets/mcast.py

Jerome Chan jchan at maxvu.com
Thu Feb 24 12:15:07 EST 2000


I've compiled Python 1.5.2 under both Linux 2.2.5 (Intel) and Linux 2.0.34
(MIPS) and when I run mcast.py I get

File "./mcast.py", line 89, in openmcastsock
    s.setsockopt(IPPROTO_IP, IP_ADD_MEMBERSHIP, mreq)
socket.error: (22, 'Invalid argument')

I get the same error if I run it under Windows but with a different error
number

error: (10055, 'winsock error')

Am I doing something wrong?





More information about the Python-list mailing list