Searched refs:sockd (Results 1 - 1 of 1) sorted by relevance

/external/opencv/otherlibs/highgui/
H A Dcvcap_socket.cpp218 int sockd = socket(pAddrInfo->ai_family, pAddrInfo->ai_socktype, pAddrInfo->ai_protocol); local
219 if (sockd < 0 || errno != 0)
224 ::close(sockd);
229 if (connect(sockd, pAddrInfo->ai_addr, pAddrInfo->ai_addrlen) < 0 || errno != 0)
234 ::close(sockd);
250 read_count = read(sockd, &readBuf[total_read], readBufSize);
272 ::close(sockd);

Completed in 1433 milliseconds