nopoll_conn_read_pending
| Definition: |
include nopoll.e
integer pending_bytes = nopoll_conn_read_pending(atom conn) |
| Description: |
Check if there are pending bytes to be read on the provided connection and that are retained in
internal buffers so the socket associated will not report pending content.
See nopoll_conn_read documentation to know more about this function. This API is not useful if you are not using nopoll_conn_read (stream oriented APi). conn: The connection where the operation takes place Returns: The number of bytes pendings to be read (and a confirmation that bytes are pending to be read) or 0 if nothing is pending. |
| See Also: | nopoll_conn_read |