Searched refs:readfds (Results 1 – 4 of 4) sorted by relevance
/net-tools-3.7.0/libcoap/examples/ |
D | coap-server.c | 449 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()
|
D | etsi_iot_01.c | 675 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()
|
D | coap-rd.c | 676 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()
|
D | client.c | 1029 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()
|