DEFRECORD KCML_POLLSET
An array of these records can be passed to 'KCML_poll(). Each of the streams will be tested for the required statuses, for hangup or for an error. The status will be returned as an OR of KCML_POLLFLAG flags.| FLD name | Pack format | Purpose |
|---|---|---|
| KCML_POLL_Stream | UINT(2) | The stream from an OPEN # of the socket |
| KCML_POLL_TestRead | BOOL | Test if bytes are available to be read |
| KCML_POLL_TestWrite | BOOL | Test if bytes can be written without blocking |
| KCML_POLL_IsReadable | BOOL | Bytes can be read without blocking |
| KCML_POLL_IsWriteable | BOOL | Bytes can be written without blocking |
| KCML_POLL_IsClosed | BOOL | The socket has been closed |
| KCML_POLL_IsError | BOOL | The socket has flagged an error |
| KCML_POLL_IsInvalid | BOOL | The socket is invalid |
| KCML_POLL_User | User defined data |