Home
last modified time | relevance | path

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

/test/xts/acts/communication_lite/lwip_hal/src/
Dlwip_func_test.c183 int clientFd = accept(srvFd, (struct sockaddr*)&clnAddr, &clnAddrLen); in SampleTcpServerTask() local
185 TEST_ASSERT_NOT_EQUAL(LWIP_TEST_FAIL, clientFd); in SampleTcpServerTask()
191 ret = send(clientFd, buf, srvMsgLen, 0); in SampleTcpServerTask()
196 ret = recv(clientFd, buf, sizeof(buf), 0); in SampleTcpServerTask()
216 ret = sendmsg(clientFd, &msg, 0); in SampleTcpServerTask()
225 ret = recv(clientFd, buf, sizeof(buf), 0); in SampleTcpServerTask()
235 ret = shutdown(clientFd, SHUT_RDWR); in SampleTcpServerTask()
239 lwip_close(clientFd); in SampleTcpServerTask()
256 int clientFd = socket(AF_INET, SOCK_STREAM, 0); in SampleTcpClientTask() local
257 TEST_ASSERT_NOT_EQUAL(LWIP_TEST_FAIL, clientFd); in SampleTcpClientTask()
[all …]