udp.receive("<Timeout>")
Used to receive UDP data from a specific UDP port.
Parameters
<Timeout>
Permitted delay in milliseconds to wait for data to be retrieved.
Return Value
Returns the data within the timeout value.
Example
......
............
udp.init(3501)
While true
$data1 = udp.receive(100)
display $data1
sleep 100
endwhile
.......
..........
The port gets intialized first and then the data is retrieved.
The data is stored into $data1.