lib/blinky_cloud/base.rb in blinky-cloud-1.1.1 vs lib/blinky_cloud/base.rb in blinky-cloud-1.1.3

- old
+ new

@@ -1,13 +1,13 @@ -require 'socket' - -module BlinkyCloud - class Base - MULTICAST_ADDR = "224.0.0.1" - PORT = 54321 - - def socket - @socket ||= UDPSocket.open - end - - end -end +require 'socket' + +module BlinkyCloud + class Base + MULTICAST_ADDR = "224.1.1.1" + PORT = 54321 + + def socket + @socket ||= UDPSocket.open + end + + end +end