Pike v8.1 release 6

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.