Home
last modified time | relevance | path

Searched refs:SRV_MSG (Results 1 – 1 of 1) sorted by relevance

/test/xts/acts/communication_lite/lwip_hal/src/
Dlwip_func_test.c34 #define SRV_MSG "Hi, I am TCP server" macro
187 int srvMsgLen = strlen(SRV_MSG); in SampleTcpServerTask()
189 ret = strcpy_s(buf, BUF_SIZE, SRV_MSG); in SampleTcpServerTask()
206 ret = strcpy_s(buf, BUF_SIZE, SRV_MSG); in SampleTcpServerTask()
227 if ((unsigned int)recvSum == (len * strlen(SRV_MSG)) || ret <= 0) { in SampleTcpServerTask()
295 TEST_ASSERT_EQUAL_INT(strlen(SRV_MSG), ret); in SampleTcpClientTask()
324 if ((unsigned int)recvSum == (len * strlen(SRV_MSG)) || ret <= 0) { in SampleTcpClientTask()
330 TEST_ASSERT_EQUAL_INT(len * strlen(SRV_MSG), recvSum); in SampleTcpClientTask()
1046 ret = send(fdFail, NULL, strlen(SRV_MSG), 0);
1048 ret = send(fdSuccess, NULL, strlen(SRV_MSG), 0);
[all …]