Instrument-control Toolkit - udp
- Loadable Function: 
udp =udp() - Loadable Function: 
udp =udp(remoteipaddress, remoteport) - Loadable Function: 
udp =udp(remoteipaddress, remoteport, [propertyname, propertyvalue ...]) -  
Open udp interface.
Inputs
remoteipaddress - the ip address of type String. If omitted defaults to ’127.0.0.1’.
remoteport - the port number to connect. If omitted defaults to 23.
localport - the local port number to bind. If omitted defaults to 0
propertyname, propertyvalue - property name/value pairOutputs
The udp() shall return instance of octave_udp class as the result udp.
Properties
The udp object has the following public properties:
- name
 name assigned to the udp object
- type
 instrument type ’udp’ (readonly)
- localport
 local port number (readonly)
- localhost
 local host address (readonly)
- remoteport
 remote port number
- remotehost
 remote host
- status
 status of the object ’open’ or ’closed’ (readonly)
- timeout
 timeout value in seconds used for waiting for data
- bytesavailable
 number of bytes currently available to read (readonly)