Home
last modified time | relevance | path

Searched refs:httpListenSock (Results 1 – 10 of 10) sorted by relevance

/external/libvncserver/libvncserver/
Dhttpd.c106 if ((rfbScreen->httpListenSock = in rfbHttpInitSockets()
136 if(rfbScreen->httpListenSock>-1) { in rfbHttpShutdownSockets()
137 close(rfbScreen->httpListenSock); in rfbHttpShutdownSockets()
138 FD_CLR(rfbScreen->httpListenSock,&rfbScreen->allFds); in rfbHttpShutdownSockets()
139 rfbScreen->httpListenSock=-1; in rfbHttpShutdownSockets()
170 if (rfbScreen->httpListenSock < 0) in rfbHttpCheckFds()
174 FD_SET(rfbScreen->httpListenSock, &fds); in rfbHttpCheckFds()
183 …nfds = select(max(rfbScreen->httpListen6Sock, max(rfbScreen->httpSock,rfbScreen->httpListenSock)) … in rfbHttpCheckFds()
200 if (FD_ISSET(rfbScreen->httpListenSock, &fds) || FD_ISSET(rfbScreen->httpListen6Sock, &fds)) { in rfbHttpCheckFds()
203 if(FD_ISSET(rfbScreen->httpListenSock, &fds)) { in rfbHttpCheckFds()
[all …]
Dmain.c848 screen->httpListenSock=-1; in rfbGetScreen()
/external/libvncserver/x11vnc/
Dremote.c488 if (screen->httpListenSock > -1) { in rfb_http_init_sockets()
489 close(screen->httpListenSock); in rfb_http_init_sockets()
490 screen->httpListenSock = -1; in rfb_http_init_sockets()
529 if (screen->httpPort != 0 && screen->httpListenSock < 0) { in http_connections()
546 screen->httpListenSock < 0 ? "only" : "also", in http_connections()
554 if (screen->httpListenSock > -1) { in http_connections()
555 close(screen->httpListenSock); in http_connections()
556 screen->httpListenSock = -1; in http_connections()
585 if (screen->httpListenSock > -1) { in reset_httpport()
586 close(screen->httpListenSock); in reset_httpport()
[all …]
Duser.c1190 …intf(stderr, "%d %d %d %d\n", conn, screen->listenSock, screen->httpSock, screen->httpListenSock); in handle_one_http_request()
1205 if (screen->httpListenSock < 0) { in handle_one_http_request()
1708 if (screen->httpListenSock >= 0) { in vnc_redirect_loop()
1711 close(screen->httpListenSock); in vnc_redirect_loop()
1713 screen->httpListenSock = -2; in vnc_redirect_loop()
Dconnections.c1828 if (screen->httpListenSock < 0) { in check_ipv6_listen()
1830 int save = screen->httpListenSock; in check_ipv6_listen()
1831 screen->httpListenSock = ipv6_http_fd; in check_ipv6_listen()
1834 screen->httpListenSock = save; in check_ipv6_listen()
Dx11vnc.c5880 if (screen && screen->httpListenSock >= 0) {
5881 close(screen->httpListenSock);
5882 screen->httpListenSock = -1;
Dsslhelper.c3575 if (screen->httpListenSock >= 0 && screen->httpPort > 0) { in accept_openssl()
3579 } else if (screen->httpListenSock == -2) { in accept_openssl()
Dscreen.c3866 if ((screen->httpListenSock > -1 || ipv6_http_fd > -1) && screen->httpPort) {
3902 if (screen->httpListenSock > -1 && screen->httpPort) {
/external/libvncserver/rfb/
Drfb.h293 SOCKET httpListenSock; member
/external/libvncserver/
DChangeLog5296 x11vnc/x11vnc.c: x11vnc: -gui tray mode, httpd.c: check httpListenSock >= 0.