Searched refs:recvSum (Results 1 – 1 of 1) sorted by relevance
/test/xts/acts/communication_lite/lwip_hal/src/ |
D | lwip_func_test.c | 222 int recvSum = 0; in SampleTcpServerTask() local 226 recvSum += ret; in SampleTcpServerTask() 227 if ((unsigned int)recvSum == (len * strlen(SRV_MSG)) || ret <= 0) { in SampleTcpServerTask() 232 printf("[tcp server]recv, recvSum=%d,recvTimes=%d\n", recvSum, recvTimes); in SampleTcpServerTask() 233 TEST_ASSERT_EQUAL_INT(len * strlen(CLI_MSG), recvSum); in SampleTcpServerTask() 319 int recvSum = 0; in SampleTcpClientTask() local 323 recvSum += ret; in SampleTcpClientTask() 324 if ((unsigned int)recvSum == (len * strlen(SRV_MSG)) || ret <= 0) { in SampleTcpClientTask() 329 printf("[tcp client]recv, recvSum=%d,recvTimes=%d\n", recvSum, recvTimes); in SampleTcpClientTask() 330 TEST_ASSERT_EQUAL_INT(len * strlen(SRV_MSG), recvSum); in SampleTcpClientTask()
|