Searched refs:SERVER_NAME (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/mbedtls/example/ |
A D | tls_example.c | 69 #define SERVER_NAME "www.baidu.com" macro 153 mbedtls_printf( " . Connecting to tcp/%s/%s...", SERVER_NAME, SERVER_PORT ); in tls_example() 156 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_NAME, in tls_example() 195 if( ( ret = mbedtls_ssl_set_hostname( &ssl, SERVER_NAME ) ) != 0 ) in tls_example()
|
/AliOS-Things-master/components/mbedtls/programs/ssl/ |
A D | ssl_client1.c | 69 #define SERVER_NAME "localhost" macro 157 mbedtls_printf( " . Connecting to tcp/%s/%s...", SERVER_NAME, SERVER_PORT ); in main() 160 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_NAME, in main() 199 if( ( ret = mbedtls_ssl_set_hostname( &ssl, SERVER_NAME ) ) != 0 ) in main()
|
A D | dtls_client.c | 70 #define SERVER_NAME "localhost" macro 172 mbedtls_printf( " . Connecting to udp/%s/%s...", SERVER_NAME, SERVER_PORT ); in main() 213 if( ( ret = mbedtls_ssl_set_hostname( &ssl, SERVER_NAME ) ) != 0 ) in main()
|
/AliOS-Things-master/components/mbedtls/programs/pkey/ |
A D | dh_client.c | 57 #define SERVER_NAME "localhost" macro 158 mbedtls_printf( "\n . Connecting to tcp/%s/%s", SERVER_NAME, in main() 162 if( ( ret = mbedtls_net_connect( &server_fd, SERVER_NAME, in main()
|
Completed in 5 milliseconds