Home
last modified time | relevance | path

Searched refs:listen6Sock (Results 1 – 7 of 7) sorted by relevance

/external/libvncserver/libvncclient/
Dlisten.c108 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 …]
Dvncviewer.c230 client->listen6Sock = -1; in rfbGetClient()
/external/libvncserver/libvncserver/
Dsockets.c183 … 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 …]
Dmain.c584 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/
Drfbclient.h350 int listen6Sock; member
Drfb.h389 SOCKET listen6Sock; member
/external/libvncserver/
DChangeLog815 when listenSock/listen6Sock == -1