Lines Matching defs:sockfd
427 if (!lws_socket_is_valid(wsi->desc.sockfd) &&
462 lws_sockfd_type sockfd = (lws_sockfd_type)(lws_intptr_t)handle->data;
464 lwsl_debug("%s: sockfd %d\n", __func__, sockfd);
465 compatible_close(sockfd);
480 h->data = (void *)(lws_intptr_t)wsi->desc.sockfd;
487 wsi->desc.sockfd = LWS_SOCK_INVALID;
519 w_read->pwatcher, wsi->desc.sockfd);
522 lwsl_wsi_err(wsi, "uv_poll_init failed %d, sockfd=%p", n,
523 (void *)(lws_intptr_t)wsi->desc.sockfd);
621 w_read->pwatcher, wsi->desc.sockfd);
623 lwsl_wsi_err(wsi, "uv_poll_init failed %d, sockfd=%p", n,
624 (void *)(lws_intptr_t)wsi->desc.sockfd);