Lines Matching defs:result
211 deSocketResult result = DE_SOCKETRESULT_LAST;
226 result = m_socket.send(&buf[numSent], numToSend-numSent, &numSent);
228 if (result == DE_SOCKETRESULT_CONNECTION_CLOSED)
230 else if (result == DE_SOCKETRESULT_CONNECTION_TERMINATED)
232 else if (result == DE_SOCKETRESULT_ERROR)
234 else if (result == DE_SOCKETRESULT_WOULD_BLOCK)
241 DE_ASSERT(result == DE_SOCKETRESULT_SUCCESS);
315 deSocketResult result = DE_SOCKETRESULT_LAST;
320 result = m_socket.receive(&m_curMsgBuf[m_curMsgPos], bytesToRecv, &numRecv);
322 if (result == DE_SOCKETRESULT_CONNECTION_CLOSED)
324 else if (result == DE_SOCKETRESULT_CONNECTION_TERMINATED)
326 else if (result == DE_SOCKETRESULT_ERROR)
328 else if (result == DE_SOCKETRESULT_WOULD_BLOCK)
336 DE_ASSERT(result == DE_SOCKETRESULT_SUCCESS);