Package: libmono-system1.0-cil
Version: 1.2.2.1-1

Resending this since it seems to have been eaten by a spam filter or similar. My apologies if it appears twice.

strace on the failing Mono executable yields:
setsockopt(7, SOL_IP, IP_ADD_MEMBERSHIP, "\372\377\377\357\0\0\0\0\0\0\0\0", 12) = -1 EINVAL (Invalid argument)

And on the working C multicast program:
setsockopt(4, SOL_IP, IP_ADD_MEMBERSHIP, "\357\377\377\372\0\0\0\0", 8) = 0

So it looks like Mono is using the wrong byte order on the address. I've verified this by changing the code to use the (invalid) multicast address 250.255.255.239 and got a working executable (on powerpc; obviously it fails on i386). I'm guessing that the fix would be somewhere in mono/metadata/socket-io.c. In any case, this is clearly not a problem with the libmono-system1.0-cil package that I've reported this bug on; please reassign as appropriate.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to