Loadable Function: n = tcp_write (tcp, data)

Write data to a tcp interface.

Inputs

tcp - instance of octave_tcp class.
data - data to be written to the tcp interface. Can be either of String or uint8 type.

Outputs

Upon successful completion, tcp_write() shall return the number of bytes written as the result n.

Package: instrument-control