Searched refs:listenSock (Results 1 – 8 of 8) sorted by relevance
/external/libvncserver/libvncclient/ |
D | listen.c | 106 client->sock = AcceptTcpConnection(client->listenSock); in listenForIncomingConnections() 161 if (client->listenSock < 0) in listenForIncomingConnectionsNoFork() 163 client->listenSock = ListenAtTcpPortAndAddress(client->listenPort, client->listenAddress); in listenForIncomingConnectionsNoFork() 165 if (client->listenSock < 0) in listenForIncomingConnectionsNoFork() 192 if(client->listenSock >= 0) in listenForIncomingConnectionsNoFork() 193 FD_SET(client->listenSock, &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() 204 if (FD_ISSET(client->listenSock, &fds)) in listenForIncomingConnectionsNoFork() 205 client->sock = AcceptTcpConnection(client->listenSock); in listenForIncomingConnectionsNoFork() [all …]
|
D | vncviewer.c | 228 client->listenSock = -1; in rfbGetClient() 409 if (client->listenSock >= 0) in rfbClientCleanup() 410 close(client->listenSock); in rfbClientCleanup()
|
D | sockets.c | 616 AcceptTcpConnection(int listenSock) in AcceptTcpConnection() argument 623 sock = accept(listenSock, (struct sockaddr *) &addr, &addrlen); in AcceptTcpConnection()
|
/external/libvncserver/libvncserver/ |
D | sockets.c | 165 if ((rfbScreen->listenSock = rfbListenOnTCPPort(i, iface)) >= 0) { in rfbInitSockets() 177 FD_SET(rfbScreen->listenSock, &(rfbScreen->allFds)); in rfbInitSockets() 178 rfbScreen->maxFd = rfbScreen->listenSock; in rfbInitSockets() 204 if ((rfbScreen->listenSock = rfbListenOnTCPPort(rfbScreen->port, iface)) < 0) { in rfbInitSockets() 210 FD_SET(rfbScreen->listenSock, &(rfbScreen->allFds)); in rfbInitSockets() 211 rfbScreen->maxFd = rfbScreen->listenSock; in rfbInitSockets() 256 if(rfbScreen->listenSock>-1) { in rfbShutdownSockets() 257 closesocket(rfbScreen->listenSock); in rfbShutdownSockets() 258 FD_CLR(rfbScreen->listenSock,&rfbScreen->allFds); in rfbShutdownSockets() 259 rfbScreen->listenSock=-1; in rfbShutdownSockets() [all …]
|
D | main.c | 582 if(screen->listenSock >= 0) in listenerRun() 583 FD_SET(screen->listenSock, &listen_fds); in listenerRun() 594 if (FD_ISSET(screen->listenSock, &listen_fds)) in listenerRun() 595 client_fd = accept(screen->listenSock, (struct sockaddr*)&peer, &len); in listenerRun() 840 screen->listenSock=-1; in rfbGetScreen()
|
/external/libvncserver/rfb/ |
D | rfbclient.h | 344 int listenSock; member 557 extern int AcceptTcpConnection(int listenSock);
|
D | rfb.h | 267 SOCKET listenSock; member
|
/external/libvncserver/ |
D | ChangeLog | 815 when listenSock/listen6Sock == -1
|