Searched refs:listen6Sock (Results 1 – 6 of 6) sorted by relevance
/external/libvncserver/libvncclient/ |
D | listen.c | 106 client->sock = AcceptTcpConnection(client->listen6Sock); in listenForIncomingConnections() 174 if (client->listen6Port > 0 && client->listen6Sock < 0) in listenForIncomingConnectionsNoFork() 176 client->listen6Sock = ListenAtTcpPortAndAddress(client->listen6Port, client->listen6Address); in listenForIncomingConnectionsNoFork() 178 if (client->listen6Sock < 0) in listenForIncomingConnectionsNoFork() 192 if(client->listen6Sock >= 0) in listenForIncomingConnectionsNoFork() 193 FD_SET(client->listen6Sock, &fds); in listenForIncomingConnectionsNoFork() 196 r = select(max(client->listenSock, client->listen6Sock) +1, &fds, NULL, NULL, NULL); in listenForIncomingConnectionsNoFork() 198 r = select(max(client->listenSock, client->listen6Sock) +1, &fds, NULL, NULL, &to); in listenForIncomingConnectionsNoFork() 204 else if (FD_ISSET(client->listen6Sock, &fds)) in listenForIncomingConnectionsNoFork() 205 client->sock = AcceptTcpConnection(client->listen6Sock); in listenForIncomingConnectionsNoFork() [all …]
|
D | vncviewer.c | 198 client->listen6Sock = -1; in rfbGetClient()
|
/external/libvncserver/libvncserver/ |
D | sockets.c | 163 … if ((rfbScreen->listen6Sock = rfbListenOnTCP6Port(i, rfbScreen->listen6Interface)) >= 0) { in rfbInitSockets() 175 FD_SET(rfbScreen->listen6Sock, &(rfbScreen->allFds)); in rfbInitSockets() 176 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); in rfbInitSockets() 192 …if ((rfbScreen->listen6Sock = rfbListenOnTCP6Port(rfbScreen->ipv6port, rfbScreen->listen6Interface… in rfbInitSockets() 198 FD_SET(rfbScreen->listen6Sock, &(rfbScreen->allFds)); in rfbInitSockets() 199 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); in rfbInitSockets() 237 if(rfbScreen->listen6Sock>-1) { in rfbShutdownSockets() 238 closesocket(rfbScreen->listen6Sock); in rfbShutdownSockets() 239 FD_CLR(rfbScreen->listen6Sock,&rfbScreen->allFds); in rfbShutdownSockets() 240 rfbScreen->listen6Sock=-1; in rfbShutdownSockets() [all …]
|
D | main.c | 584 if(screen->listen6Sock >= 0) in listenerRun() 585 FD_SET(screen->listen6Sock, &listen_fds); in listenerRun() 596 else if (FD_ISSET(screen->listen6Sock, &listen_fds)) in listenerRun() 597 client_fd = accept(screen->listen6Sock, (struct sockaddr*)&peer, &len); in listenerRun() 841 screen->listen6Sock=-1; in rfbGetScreen()
|
/external/libvncserver/rfb/ |
D | rfbclient.h | 346 int listen6Sock; member
|
D | rfb.h | 389 SOCKET listen6Sock; member
|