Lines Matching refs:hostname
29 static BIO *create_socket_bio(const char *hostname, const char *port, in create_socket_bio() argument
40 if (!BIO_lookup_ex(hostname, port, BIO_LOOKUP_CLIENT, family, SOCK_DGRAM, 0, in create_socket_bio()
112 const char *hostname) in write_a_request() argument
120 if (!SSL_write_ex(stream, hostname, strlen(hostname), &written)) in write_a_request()
150 char *hostname, *port; in main() local
167 hostname = argv[argnext++]; in main()
214 bio = create_socket_bio(hostname, port, ipv6 ? AF_INET6 : AF_INET, &peer_addr); in main()
225 if (!SSL_set_tlsext_host_name(ssl, hostname)) { in main()
236 if (!SSL_set1_host(ssl, hostname)) { in main()
278 if (!write_a_request(stream1, request1_start, hostname)) { in main()
283 if (!write_a_request(stream2, request2_start, hostname)) { in main()