From: Sam Roberts Date: 2006-05-16T13:22:55+09:00 Subject: Re: MulticastSocket in Ruby Quoting dirk.breuer@gmail.com, on Sat, May 13, 2006 at 06:49:49PM +0900: > I need some halp with Multicast Sockets. Is it possible to establish a > multicst socket in Ruby? I believe it ist, but have no idea how it could > work. I asked Google already for help, but with no success. So I ask > here. I already tried to solve this with using UDPSocket, but that > failed, too. Use the low level apis of class Socket. They behave almost the same as the BSD socket apis. > Is there any class, package or extension for this task or could you give > me a hint for doing this with the existing sockets? If you want an example, multicast DNS uses multicast UDP, both send and receive, look at http://dnssd.rubyforge.org, check out the source in net-mdns. Cheers, Sam