Home
last modified time | relevance | path

Searched refs:SERVER_NAME (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/mbedtls/example/
A Dtls_example.c69 #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 Dssl_client1.c69 #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 Ddtls_client.c70 #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 Ddh_client.c57 #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