int nopoll_conn_pending_write_bytes ( noPollConn conn)

Allows to check if there are pending write bytes.

The function returns the number of pending write bytes that are waiting to be flushed. To do so you must call nopoll_conn_complete_pending_write.

connThe connection to be checked to have pending bytes to be written.
The number of bytes pending to be written. The function also returns 0 when conn reference received is NULL.

Referenced by nopoll_conn_flush_writes().