Extracted from Pike v8.0 release 164 as of 2016-04-05.
   

Method Stdio.UDP()->wait()


Method wait

bool wait(int|float timeout)

Description

Check for data and wait max. timeout seconds.

Returns

Returns 1 if data are ready, 0 (zero) otherwise.