Sha256: 88470049cb998c0cb0e234ce2b0d0fb2beb68669b9db7bcdad74b31285983f7b

Contents?: true

Size: 190 Bytes

Versions: 12

Compression:

Stored size: 190 Bytes

Contents

module OSC
  class Client

    def initialize(host, port)
      @so = UDPSocket.new
      @so.connect(host, port)
    end

    def send(mesg)
      @so.send(mesg.encode, 0)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
osc-ruby-1.1.5 lib/osc-ruby/client.rb
osc-ruby-1.1.4 lib/osc-ruby/client.rb
osc-ruby-1.1.3 lib/osc-ruby/client.rb
osc-ruby-1.1.2 lib/osc-ruby/client.rb
osc-ruby-1.1.1 lib/osc-ruby/client.rb
osc-ruby-1.1.0 lib/osc-ruby/client.rb
osc-ruby-1.0.0 lib/osc-ruby/client.rb
osc-ruby-0.7.0 lib/osc-ruby/client.rb
osc-ruby-0.6.3 lib/osc-ruby/client.rb
osc-ruby-0.6.2 lib/osc-ruby/client.rb
osc-ruby-0.6.1 lib/osc-ruby/client.rb
osc-ruby-0.6.0 lib/osc-ruby/client.rb