rt_writable
Description
The rt_writable function determines whether an RTTP socket is writable, i.e., whether a call to the rt_send function can successfully send data.
Syntax:
int rt_writable(RTEngine engine, RTSOCKET s);
Parameters:
engine:
The pointer to the RTTP engine instance returned by rt_init().
s: The descriptor identifying the RTTP socket.
Return Value:
If the RTTP socket is writable, rt_writable returns 1; otherwise, the return value is 0.