Loadable Function: [data, count] = tcp_read (tcp, n, timeout)

Read from tcp interface.

Inputs

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

Outputs

count - number of bytes successfully read as an Integer
data - data bytes themselves as uint8 array.

Package: instrument-control