Instrument-control Toolkit - @octave_tcpclient/flush
- : 
data =flush(dev) - : 
data =flush(dev, "input") - : 
data =flush(dev, "output") Flush the tcpclient socket buffers
Inputs
dev - connected tcpclient device
If an additional parameter is provided of "input" or "output", then only the input or output buffer will be flushed
Outputs
None
See also: serialport.