CUT_UDP_SOCKET WaitForReceive This function wiats up til the specified time to see if there is data to be received. Params secs - max. seconds to wait [uSecs] - max. micro seconds to wait Return UTE_ERROR - error UTE_SUCCESS - success ****************************************************/
| 1190 | UTE_SUCCESS - success |
| 1191 | ****************************************************/ |
| 1192 | int CUT_WSClient::WaitForReceive(long secs,long uSecs){ |
| 1193 | if (m_SSLconnected) { |
| 1194 | if (SSL_pending(m_ssl)) { |
| 1195 | return UTE_SUCCESS; |
| 1196 | } |
| 1197 | } |
| 1198 | return OnError(SocketWaitForReceive(m_socket, secs, uSecs)); |
| 1199 | } |
| 1200 | |
| 1201 | /*************************************************** |
| 1202 | Receive |
nothing calls this directly
no outgoing calls
no test coverage detected