Lines Matching +full:poll +full:- +full:timeout +full:- +full:ms
2 * Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved.
12 * doc/man7/ossl-guide-quic-client-non-block.pod
33 int sock = -1; in create_socket_bio()
51 * Create a UDP socket. We could equally use non-OpenSSL calls such in create_socket_bio()
58 if (sock == -1) in create_socket_bio()
64 sock = -1; in create_socket_bio()
71 sock = -1; in create_socket_bio()
78 if (sock != -1) { in create_socket_bio()
89 /* If sock is -1 then we've been unable to connect to the server */ in create_socket_bio()
90 if (sock == -1) in create_socket_bio()
145 * poll/epoll or similar functions in wait_for_activity()
153 * a GUI every 100ms. One way to do that would be to use the timeout in in wait_for_activity()
155 * than 100ms then use 100ms instead. Then, when select returns, you in wait_for_activity()
157 * because of the timeout. If the 100ms GUI timeout has expired but the in wait_for_activity()
158 * tvp timeout has not then go and update the GUI and then restart the in wait_for_activity()
179 return -1; in handle_io_failure()
184 * stream reset - or some failure occurred on the underlying in handle_io_failure()
212 return -1; in handle_io_failure()
215 return -1; in handle_io_failure()
221 * non-standard and will not typically be supported by real world servers. This
243 printf("Usage: quic-client-non-block [-6] hostname port\n"); in main()
247 if (!strcmp(argv[argnext], "-6")) { in main()
249 printf("Usage: quic-client-non-block [-6] hostname port\n"); in main()
384 case -1: in main()
393 * number of bytes that we read. The data could be non-printable or in main()