MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / WaitForReceive

Method WaitForReceive

UTCP/src/ut_clnt.cpp:1192–1199  ·  view source on GitHub ↗

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 ****************************************************/

Source from the content-addressed store, hash-verified

1190 UTE_SUCCESS - success
1191****************************************************/
1192int 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/***************************************************
1202Receive

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected