On Tue, 26 Nov 2002 08:16:47 +1100, Brad Hards wrote: > ip_mreqn = struct.pack('IIi', dottedQuadtoNum(addr), 0, 0) ip_mreqn = struct.pack ('>IIi', dottedQuadtoNum(addr), 0, 0) (you always pass IPs in big-endian order to the kernel) I don't know if that actaully works, but the setsockopt doesn't throw an exception with that change, at least.