Listening for IPv6 multicasts on Linux
问题 I'm trying to get a simple multicasting example to work on Linux (I've tried both RHEL 4 2.6.9 and Ubuntu 8.04 2.6.24). The general idea is that I would like the server to bind to a unicast address and then add itself to the group ff02::1. I would then like it to receive multicasts sent to ff02::1. The code below works on Mac OS X 10.5 (in fact, a server running on OS X gets multicasts sent from Linux clients), but I can't get the Linux server side to work. It doesn't get any multicasts. If I