Sha256: 4b3393df600f34535de92cdb9a2fc85b49396820b683ecec4e5657f97ab36da6

Contents?: true

Size: 191 Bytes

Versions: 3

Compression:

Stored size: 191 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

3 entries across 3 versions & 2 rubygems

Version Path
aberant-osc-ruby-0.1.6 lib/osc-ruby/client.rb
aberant-osc-ruby-0.2.0 lib/osc-ruby/client.rb
osc-ruby-0.2.0 lib/osc-ruby/client.rb