Home
last modified time | relevance | path

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

/external/skia/experimental/Networking/
DSkSockets.cpp21 fSockfd = this->createSocket(); in SkSocket()
25 this->closeSocket(fSockfd); in ~SkSocket()
26 shutdown(fSockfd, 2); //stop sending/receiving in ~SkSocket()
250 if (bind(fSockfd, (sockaddr*)&serverAddr, sizeof(serverAddr)) < 0) { in SkTCPServer()
264 listen(fSockfd, MAX_WAITING_CLIENTS); in acceptConnections()
270 FD_SET(fSockfd, &workingSet); in acceptConnections()
274 int sel = select(fSockfd + 1, &workingSet, NULL, NULL, &timeout); in acceptConnections()
284 newfd = accept(fSockfd, (struct sockaddr*)&clientAddr, &clientLen); in acceptConnections()
314 this->addToMasterSet(fSockfd); in SkTCPClient()
330 SkASSERT(sockfd == fSockfd); in onFailedConnection()
[all …]
DSkSockets.h136 int fSockfd; variable