Searched refs:listen6Sock (Results 1 – 7 of 7) sorted by relevance
/external/libvncserver/libvncclient/ |
D | listen.c | 108 client->sock = AcceptTcpConnection(client->listen6Sock); in listenForIncomingConnections() 176 if (client->listen6Port > 0 && client->listen6Sock < 0) in listenForIncomingConnectionsNoFork() 178 client->listen6Sock = ListenAtTcpPortAndAddress(client->listen6Port, client->listen6Address); in listenForIncomingConnectionsNoFork() 180 if (client->listen6Sock < 0) in listenForIncomingConnectionsNoFork() 194 if(client->listen6Sock >= 0) in listenForIncomingConnectionsNoFork() 195 FD_SET(client->listen6Sock, &fds); in listenForIncomingConnectionsNoFork() 198 r = select(max(client->listenSock, client->listen6Sock) +1, &fds, NULL, NULL, NULL); in listenForIncomingConnectionsNoFork() 200 r = select(max(client->listenSock, client->listen6Sock) +1, &fds, NULL, NULL, &to); in listenForIncomingConnectionsNoFork() 206 else if (FD_ISSET(client->listen6Sock, &fds)) in listenForIncomingConnectionsNoFork() 207 client->sock = AcceptTcpConnection(client->listen6Sock); in listenForIncomingConnectionsNoFork() [all …]
|
D | vncviewer.c | 230 client->listen6Sock = -1; in rfbGetClient()
|
/external/libvncserver/libvncserver/ |
D | sockets.c | 183 … if ((rfbScreen->listen6Sock = rfbListenOnTCP6Port(i, rfbScreen->listen6Interface)) >= 0) { in rfbInitSockets() 195 FD_SET(rfbScreen->listen6Sock, &(rfbScreen->allFds)); in rfbInitSockets() 196 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); in rfbInitSockets() 216 …if ((rfbScreen->listen6Sock = rfbListenOnTCP6Port(rfbScreen->ipv6port, rfbScreen->listen6Interface… in rfbInitSockets() 222 FD_SET(rfbScreen->listen6Sock, &(rfbScreen->allFds)); in rfbInitSockets() 223 rfbScreen->maxFd = max((int)rfbScreen->listen6Sock,rfbScreen->maxFd); in rfbInitSockets() 262 if(rfbScreen->listen6Sock>-1) { in rfbShutdownSockets() 263 closesocket(rfbScreen->listen6Sock); in rfbShutdownSockets() 264 FD_CLR(rfbScreen->listen6Sock,&rfbScreen->allFds); in rfbShutdownSockets() 265 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 | 350 int listen6Sock; member
|
D | rfb.h | 389 SOCKET listen6Sock; member
|
/external/libvncserver/ |
D | ChangeLog | 815 when listenSock/listen6Sock == -1
|