Functions

Send(host, port) Constructor
Send:host() Get target host name
Send:ip() Get target IP
Send:port() Get target port
Send:send(Address, ...) Send an OSC message

Functions

Send(host, port)

Constructor

Parameters:

host optional hostname or IP address (defaults to 'localhost')
port optional port number (defaults to 4110)

Return:

  • The Send object
Send:host()

Get target host name

Return:

  • host name as a string
Send:ip()

Get target IP

Return:

  • target IP as a string
Send:port()

Get target port

Return:

  • target port as a number
Send:send(Address, ...)

Send an OSC message

Parameters:

Address string OSC address
... numbers, strings, booleans, nils are supported

Return:

  • Number of bytes sent