Home
last modified time | relevance | path

Searched refs:readfds (Results 1 – 4 of 4) sorted by relevance

/net-tools-3.7.0/libcoap/examples/
Dcoap-server.c449 fd_set readfds; in main() local
498 FD_ZERO(&readfds); in main()
499 FD_SET( ctx->sockfd, &readfds ); in main()
519 result = select( FD_SETSIZE, &readfds, 0, 0, timeout ); in main()
525 if ( FD_ISSET( ctx->sockfd, &readfds ) ) { in main()
Detsi_iot_01.c675 fd_set readfds; in main() local
717 FD_ZERO(&readfds); in main()
718 FD_SET( ctx->sockfd, &readfds ); in main()
738 result = select( FD_SETSIZE, &readfds, 0, 0, timeout ); in main()
744 if ( FD_ISSET( ctx->sockfd, &readfds ) ) { in main()
Dcoap-rd.c676 fd_set readfds; in main() local
723 FD_ZERO(&readfds); in main()
724 FD_SET( ctx->sockfd, &readfds ); in main()
745 result = select( FD_SETSIZE, &readfds, 0, 0, timeout ); in main()
751 if ( FD_ISSET( ctx->sockfd, &readfds ) ) { in main()
Dclient.c1029 fd_set readfds; in main() local
1210 FD_ZERO(&readfds); in main()
1211 FD_SET( ctx->sockfd, &readfds ); in main()
1236 result = select(ctx->sockfd + 1, &readfds, 0, 0, &tv); in main()
1241 if ( FD_ISSET( ctx->sockfd, &readfds ) ) { in main()