int qSocketWaitWritable ( int  sockfd,
int  timeoutms 
)

Wait until the socket is writable.

Parameters:
sockfd socket descriptor
timeoutms wait timeout mili-seconds. if set to negative value, wait indefinitely.
Returns:
1 on writable, or 0 on timeout, or -1 if an error(ex:socket closed) occurred.
Since:
8.1R
Note:
does not need to set the socket as non-block mode.

Definition at line 151 of file qSocket.c.


Generated on Mon Mar 26 07:00:52 2018 for JSOC_Documentation by  doxygen 1.5.7.1