examples/event_machine_server.rb in osc-ruby-1.0.0 vs examples/event_machine_server.rb in osc-ruby-1.1.0
- old
+ new
@@ -8,10 +8,10 @@
@server = OSC::EMServer.new( 3333 )
@client = OSC::Client.new( 'localhost', 3333 )
@server.add_method '/greeting' do | message |
- puts message.to_a
+ puts "#{message.ip_address}:#{message.ip_port} -- #{message.address} -- #{message.to_a}"
end
Thread.new do
@server.run
end
\ No newline at end of file