Lines Matching refs:lsock
185 vnc_display->lsock);
2101 int csock = accept(vs->lsock, (struct sockaddr *)&addr, &addrlen);
2117 vs->lsock = -1;
2147 if (vs->lsock != -1) {
2148 qemu_set_fd_handler2(vs->lsock, NULL, NULL, NULL, NULL);
2149 close(vs->lsock);
2150 vs->lsock = -1;
2179 return vnc_socket_local_addr("%s:%s", vs->lsock);
2365 vs->lsock = unix_connect(display+5);
2367 vs->lsock = inet_connect(display, SOCK_STREAM);
2368 if (-1 == vs->lsock) {
2373 int csock = vs->lsock;
2374 vs->lsock = -1;
2385 vs->lsock = unix_listen(display+5, dpy+5, 256-5);
2387 vs->lsock = inet_listen(display, dpy, 256, SOCK_STREAM, 5900);
2389 if (-1 == vs->lsock) {
2397 return qemu_set_fd_handler2(vs->lsock, NULL, vnc_listen_read, NULL, vs);