Permalink
Browse files

removing example for ruby 1.8

  • Loading branch information...
1 parent 11baa4e commit 89dea34adb8fbec620e5620737c706e945a4ddc6 @aberant committed Apr 28, 2013
Showing with 0 additions and 18 deletions.
  1. +0 −18 examples/classic_server.rb
View
@@ -1,18 +0,0 @@
-# compatible with ruby 1.8
-$:.unshift File.join( File.dirname( __FILE__ ), '..', 'lib')
-require 'osc-ruby'
-
-@server = OSC::Server.new( 3333 )
-@client = OSC::Client.new( 'localhost', 3333 )
-
-@server.add_method '/greeting' do | message |
- puts "#{message.ip_address}:#{message.ip_port} -- #{message.address} -- #{message.to_a}"
-end
-
-Thread.new do
- @server.run
-end
-
-@client.send( OSC::Message.new( "/greeting", "hullo!" ))
-
-sleep( 3 )

0 comments on commit 89dea34

Please sign in to comment.