socket_poll
Check if a socket has readable data waiting. Optionally wait until data is available or timeout expires.
Instructions
Check whether a socket currently has readable data. If timeout_seconds > 0, wait until readable or timeout. Most clients can rely on timeout support in tcp_recv/udp_recv instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| socket_id | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||