Lines Matching refs:inetdSock
141 if (rfbScreen->inetdSock != -1) { in rfbInitSockets()
144 if(!rfbSetNonBlocking(rfbScreen->inetdSock)) in rfbInitSockets()
147 if (setsockopt(rfbScreen->inetdSock, IPPROTO_TCP, TCP_NODELAY, in rfbInitSockets()
154 FD_SET(rfbScreen->inetdSock, &(rfbScreen->allFds)); in rfbInitSockets()
155 rfbScreen->maxFd = rfbScreen->inetdSock; in rfbInitSockets()
250 if(rfbScreen->inetdSock>-1) { in rfbShutdownSockets()
251 closesocket(rfbScreen->inetdSock); in rfbShutdownSockets()
252 FD_CLR(rfbScreen->inetdSock,&rfbScreen->allFds); in rfbShutdownSockets()
253 rfbScreen->inetdSock=-1; in rfbShutdownSockets()
295 if (!rfbScreen->inetdInitDone && rfbScreen->inetdSock != -1) { in rfbCheckFds()
296 rfbNewClientConnection(rfbScreen,rfbScreen->inetdSock); in rfbCheckFds()