Loadable Function: udp_timeout (udp, timeout)
Loadable Function: t = udp_timeout (udp)

Set new or get existing udp interface timeout parameter used for udp_read() requests. The timeout value is specified in milliseconds.

Inputs

udp - instance of octave_udp class.
timeout - udp_read() timeout value in milliseconds. Value of -1 means a blocking call.

Outputs

If timeout parameter is omitted, the udp_timeout() shall return current timeout value as the result t.

Package: instrument-control