Home
last modified time | relevance | path

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

/test/xts/acts/communication_lite/lwip_posix/src/
DActsLwipTest.cpp34 static const char* g_udpMsg = "Hi, I am UDP"; variable
554 ret = strcpy_s(buf, BUF_SIZE, g_udpMsg);
556 …ret = sendto(sfd, buf, strlen(g_udpMsg), 0, (struct sockaddr*)&clnAddr, (socklen_t)sizeof(clnAddr)…
561 EXPECT_EQ(strlen(g_udpMsg), (unsigned int)ret);
567 ret = strcpy_s(buf, BUF_SIZE, g_udpMsg);
574 iov[0].iov_len = strlen(g_udpMsg);
576 iov[1].iov_len = strlen(g_udpMsg);
578 EXPECT_EQ(len*strlen(g_udpMsg), (unsigned int)ret);
/test/xts/acts/kernel_lite/net_posix/src/
DActsNetTest.cpp45 static const char* g_udpMsg = "Hi, this is UDP"; variable
780 ret = strcpy_s(buf, BUF_SIZE, g_udpMsg);
782 …ret = sendto(sfd, buf, strlen(g_udpMsg), 0, (struct sockaddr*)&clnAddr, (socklen_t)sizeof(clnAddr)…
788 EXPECT_EQ(strlen(g_udpMsg), (unsigned int)ret);
795 ret = strcpy_s(buf, BUF_SIZE, g_udpMsg);
802 iov[0].iov_len = strlen(g_udpMsg);
804 iov[1].iov_len = strlen(g_udpMsg);
806 EXPECT_EQ(len*strlen(g_udpMsg), (unsigned int)ret);