mbedtls/programs/ssl
Simon Butcher 5c0204ef62 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-09-30 16:03:48 +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-09-30 16:03:48 +01:00
dtls_server.c Change the default IP addresses for DTLS samples 2018-09-30 16:03:48 +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 typo in platform macro defines for examples 2018-07-10 17:34:25 +01:00
ssl_client2.c Fix ssl_client2 to send 0-length app data 2018-07-16 20:14:45 +01:00
ssl_fork_server.c Fix typo in platform macro defines for examples 2018-07-10 17:34:25 +01:00
ssl_mail_client.c Fix Wformat-overflow warning in ssl_mail_client.c 2018-08-16 14:34:15 +01:00
ssl_pthread_server.c Rename net.{c,h} to net_sockets.{c,h} 2016-09-26 23:23:52 +01:00
ssl_server.c Fix multiple quality issues in the source 2018-06-08 11:14:43 +01:00
ssl_server2.c Remove trailing whitespace 2018-09-26 22:53:13 +01:00