Lines Matching refs:fdSuccess
2188 int fdSuccess = -1; variable
2192 fdSuccess = socket(AF_INET, SOCK_STREAM, 0);
2193 EXPECT_NE(fdSuccess, -1);
2197 ret = ::bind(fdSuccess, nullptr, sizeof(struct sockaddr_in));
2202 ret = connect(fdSuccess, nullptr, sizeof(struct sockaddr));
2207 ret = accept(fdSuccess, nullptr, nullptr);
2212 ret = getsockname(fdSuccess, nullptr, nullptr);
2217 ret = getpeername(fdSuccess, nullptr, nullptr);
2222 ret = send(fdSuccess, nullptr, strlen(g_srvMsg), 0);
2227 …ret = sendto(fdSuccess, nullptr, strlen(g_srvMsg), 0, nullptr, (socklen_t)sizeof(struct sockaddr_i…
2232 ret = recv(fdSuccess, nullptr, sizeof(g_srvMsg), 0);
2238 ret = recvmsg(fdSuccess, &msg, 0);
2243 ret = recvfrom(fdSuccess, nullptr, sizeof(g_srvMsg), 0, nullptr, nullptr);
2248 … ret = setsockopt(fdSuccess, SOL_SOCKET, SO_RCVTIMEO, nullptr, (socklen_t)sizeof(struct timeval));
2252 … ret = getsockopt(fdSuccess, SOL_SOCKET, SO_RCVTIMEO, nullptr, (socklen_t*)sizeof(struct timeval));
2257 ret = sendmsg(fdSuccess, nullptr, 0);
2267 ret = shutdown(fdSuccess, -1);
2270 ret = close(fdSuccess);