Displaying 2 results from an estimated 2 matches for "ip_add_membership".
2007 Nov 28
6
Problems installing/running svn-code
Hi,
The last couple of days I''ve been trying to get back on the wxRuby-horse
however I''ve ran into some problems while compiling/testing the
subversion sources. Mind, the 1.9.2 official release works fine.
Absolutely no problems whatsoever.
The first hurdle was that the rake install target doesn''t work. It fails
on rakewx.rb:145. Looking into it I found that
2007 Jul 28
0
Ruby UDP Multicasting Binding Insanity
I''m writing a gem which binds multiple sockets to the same UDP
multicast port, basically like so..
socket = UDPSocket.new
socket.setsockopt( Socket::SOL_SOCKET, Socket::SO_REUSEPORT,
[1].pack("i_") )
socket.setsockopt(Socket::IPPROTO_IP, Socket::IP_ADD_MEMBERSHIP,
addresses)
socket.bind(Socket::INADDR_ANY, port)
data, meta = socket.recvfrom 1024
..which is working fine.. in OS X. But no love on my Solaris 10 x64
box. The problem? AFAICT, the available options come straight from
the platforms C setsockopt implementation, which is platform
de...