Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/network/
Daccept4.c69 int sClient = -1; in ServerTaskOne() local
70 sClient = accept4(sListen, (struct sockaddr *)&clnAddr, &clnAddrLen, 0); in ServerTaskOne()
71 EXPECT_NE("accept4_0100", sClient, -1); in ServerTaskOne()
72 close(sClient); in ServerTaskOne()
110 int sClient = -1; in ServerTaskTwo() local
111 sClient = accept4(sListen, (struct sockaddr *)&clnAddr, &clnAddrLen, SOCK_NONBLOCK); in ServerTaskTwo()
112 EXPECT_NE("accept4_0200", sClient, -1); in ServerTaskTwo()
113 close(sClient); in ServerTaskTwo()
151 int sClient = -1; in ServerTaskThree() local
152 sClient = accept4(sListen, (struct sockaddr *)&clnAddr, &clnAddrLen, SOCK_CLOEXEC); in ServerTaskThree()
[all …]
Dgetpeername.c71 int sClient = accept(sListen, (struct sockaddr *)&clnAddr, &clnAddrLen); in SampleServerTask() local
74 rets = getpeername(sClient, &addr, &addrLen); in SampleServerTask()
80 close(sClient); in SampleServerTask()
Drecv.c86 int sClient = accept(sListen, (struct sockaddr *)&clnAddr, &clnAddrLen); in SampleServerTask() local
90 rets = recv(sClient, buf, sizeof(buf), 0); in SampleServerTask()
92 close(sClient); in SampleServerTask()
Dsend.c64 int sClient = accept(sListen, (struct sockaddr *)&clnAddr, &clnAddrLen); in SampleServerTask() local
67 rets = recv(sClient, buf, sizeof(buf), 0); in SampleServerTask()
68 close(sClient); in SampleServerTask()