Loadable Function: [data, count] = udp_read (udp, n, timeout)

Read from udp interface.

Inputs

udp - instance of octave_udp class.
n - number of bytes to attempt to read of type Integer
timeout - timeout in ms if different from default of type Integer

Outputs

The udp_read() shall return number of bytes successfully read in count as Integer and the bytes themselves in data as uint8 array.

Package: instrument-control