Home
last modified time | relevance | path

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

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