class OSC::SimpleClient
Public Class Methods
new(host, port)
click to toggle source
# File lib/osc.rb, line 366 def initialize(host, port) @so = UDPSocket.new @so.connect(host, port) end
Public Instance Methods
send(mesg)
click to toggle source
# File lib/osc.rb, line 371 def send(mesg) @so.send(mesg.encode, 0) end