From: Brian Candler Date: 2009-03-03T18:12:33+09:00 Subject: Re: Sockets and Fedora Core 9 Cragi Lagi wrote: > Apologies if this is well known or I'm posting in the wrong place. I'd say it's probably a Linux multicast issue, and if you translate the Ruby code to C (which is pretty much line-for-line) you may be able to replicate it separately. In that case, the linux-net gurus will be able to help you. > I have just spent too many hours trying to debug a problem when > recieving multicasts with UDPSockets.. code is as follows: > > SERVER="192.0.0.1" #Real server IP removed for this post > RECIEVE_ADDRESS="0.0.0.0" > PORT=5001 0.0.0.0 is not a multicast address, and I'm not sure if this is a legitimate address to 'join'. Perhaps try binding to the actual multicast address that the server is sending to? However I'm not a linux-net guru. Oh, and not that it affects code operation: s/RECIEVE/RECEIVE/ :-) Regards, Brian. -- Posted via http://www.ruby-forum.com/.