udp =
udpport ()
¶udp =
udpport (propertyname, propertyvalue ...)
¶Open udpport interface.
propertyname, propertyvalue - property name/value pair
Known input properties:
name assigned to the udp object
local port number
local host address
timeout value in seconds used for waiting for data
Boolean if the socket has port sharing enabled (readonly)
The udpport() shall return instance of octave_udp class as the result udp.
The udp object has the following public properties:
name assigned to the udp object
instrument type ’udpport’ (readonly)
local port number (readonly)
local host address (readonly)
status of the object ’open’ or ’closed’ (readonly)
timeout value in seconds used for waiting for data
number of bytes currently available to read (readonly)
multicast group socket is subscribed to (readonly)
Boolean if the socket has any multicast group it is subscribed to (readonly)
Boolean if the socket has port sharing enabled (readonly)
Terminator value used for string data (currently not used)
Package: instrument-control