Lines Matching +full:closed +full:- +full:loop
2 * Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved.
12 * doc/man7/ossl-guide-quic-client-block.pod
32 int sock = -1; in create_socket_bio()
45 * Loop through all the possible addresses for the server and find one in create_socket_bio()
50 * Create a UDP socket. We could equally use non-OpenSSL calls such in create_socket_bio()
57 if (sock == -1) in create_socket_bio()
63 sock = -1; in create_socket_bio()
70 sock = -1; in create_socket_bio()
77 if (sock != -1) { in create_socket_bio()
88 /* If sock is -1 then we've been unable to connect to the server */ in create_socket_bio()
89 if (sock == -1) in create_socket_bio()
101 * passing BIO_CLOSE here the socket will be automatically closed when in create_socket_bio()
114 * non-standard and will not typically be supported by real world servers. This
135 printf("Usage: quic-client-block [-6] hostname port\n"); in main()
139 if (!strcmp(argv[argnext], "-6")) { in main()
141 printf("Usage: quic-client-block [-6] hostname port\n"); in main()
260 * number of bytes that we read. The data could be non-printable or in main()
270 * Check whether we finished the while loop above normally or as the in main()
285 * reset - or some failure occurred on the underlying connection. in main()
294 printf("Connection closed\n"); in main()
295 /* Connection is already closed. Skip SSL_shutdown() */ in main()
312 * closed. in main()