Home
last modified time | relevance | path

Searched refs:coap_fd (Results 1 - 2 of 2) sorted by relevance

/third_party/libcoap/examples/
H A Doscore-interop-server.c582 int coap_fd; in main() local
690 coap_fd = coap_context_get_coap_fd(ctx); in main()
691 if (coap_fd != -1) { in main()
692 /* if coap_fd is -1, then epoll is not supported within libcoap */ in main()
694 FD_SET(coap_fd, &m_readfds); in main()
695 nfds = coap_fd + 1; in main()
703 if (coap_fd != -1) { in main()
728 if (FD_ISSET(coap_fd, &readfds)) { in main()
H A Dcoap-server.c2721 int coap_fd; in main() local
2957 coap_fd = coap_context_get_coap_fd(ctx); in main()
2958 if (coap_fd != -1) { in main()
2959 /* if coap_fd is -1, then epoll is not supported within libcoap */ in main()
2961 FD_SET(coap_fd, &m_readfds); in main()
2962 nfds = coap_fd + 1; in main()
2970 if (coap_fd != -1) { in main()
2994 if (FD_ISSET(coap_fd, &readfds)) { in main()

Completed in 6 milliseconds