mbedtls/programs/ssl
Simon Butcher 6fd96addf4 Change the default IP addresses for DTLS samples
Changes the IP address to bind to for dtls_server.c to be "::" or optionally
"0.0.0.0" if the preprocessor symbol FORCE_IPV4 is defined.

Also changes the destinaton IP address for dtls_client.c to be "::1" or if
FORCE_IPV4 symbol is defined "127.0.0.1".

This change allows on compilation dtls_server.c and dtls_client.c to both be
compiled to use either IPv4 or IPv6 so out of the box they will work together
without problem, and to avoid dtls_server.c binding to IPv6 and dtls_client.c
binding to IPv4.
2018-05-12 18:23:32 +01:00
..
CMakeLists.txt Fix whitespace in CMakeLists.txt 2015-06-25 10:59:57 +02:00
dtls_client.c Change the default IP addresses for DTLS samples 2018-05-12 18:23:32 +01:00
dtls_server.c Change the default IP addresses for DTLS samples 2018-05-12 18:23:32 +01:00
mini_client.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
ssl_client1.c Fix default hostname for verification used in ssl_client1 2017-02-28 22:23:41 +00:00
ssl_client2.c Merge branch 'development' into iotssl-1204 2018-03-28 14:52:35 +01:00
ssl_fork_server.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
ssl_mail_client.c Fix examples that failed to compile without PEM 2017-02-04 22:59:46 +00:00
ssl_pthread_server.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
ssl_server2.c Merge branch 'development' into iotssl-1204 2018-03-28 14:52:35 +01:00
ssl_server.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00