= private = protected
new(ts, port=Ring_PORT)
Advertises ts on the UDP broadcast address at port.
# File lib/rinda/ring.rb, line 32 def initialize(ts, port=Ring_PORT) @ts = ts @soc = UDPSocket.open @soc.bind('', port) @w_service = write_service @r_service = reply_service end