OSCClient

An OSC client object. It uses a default send address, but it can also send any OSC packet to any given address.

Constructors

this
this(Socket sock, Address addr)

Constructs a new OSC client using a socket and an address.

this
this(Address addr)

Constructs a new OSC client using an address and creating an UDP socket for IPv4 addresses.

this
this(string ip, ushort port)

Constructs a new OSC client using an IPv4 address and creating an UDP socket for IPv4 addresses.

this
this(ushort port)

Constructs a new OSC client using a localhost address with the given port, and creating an UDP socket for IPv4 addresses.

Members

Functions

send
OSCClient send(OSCPacket p)

Sends the given packet to the default address.

sendTo
OSCClient sendTo(Address addr, OSCPacket p)

Sends the given packet to the given address.

Meta