Lines Matching refs:maxFd
155 rfbScreen->maxFd = rfbScreen->inetdSock; in rfbInitSockets()
178 rfbScreen->maxFd = rfbScreen->listenSock; in rfbInitSockets()
196 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); in rfbInitSockets()
211 rfbScreen->maxFd = rfbScreen->listenSock; in rfbInitSockets()
223 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); in rfbInitSockets()
239 rfbScreen->maxFd = max((int)rfbScreen->udpSock,rfbScreen->maxFd); in rfbInitSockets()
304 nfds = select(rfbScreen->maxFd + 1, &fds, NULL, NULL /* &fds */, &tv); in rfbCheckFds()
426 if (select(rfbScreen->maxFd+1, &listen_fds, NULL, NULL, NULL) == -1) { in rfbProcessNewConnection()
504 if(cl->sock==cl->screen->maxFd) in rfbCloseClient()
505 while(cl->screen->maxFd>0 in rfbCloseClient()
506 && !FD_ISSET(cl->screen->maxFd,&(cl->screen->allFds))) in rfbCloseClient()
507 cl->screen->maxFd--; in rfbCloseClient()
558 rfbScreen->maxFd = max(sock,rfbScreen->maxFd); in rfbConnect()