diff --git a/examples/client/client.c b/examples/client/client.c index 932aed198..ef651fbe7 100644 --- a/examples/client/client.c +++ b/examples/client/client.c @@ -52,6 +52,10 @@ #include "examples/client/client.h" +/* Note on using port 0: the client and server standalone examples don't + * utilize the port 0 port sharing; that is used by the testsuite which uses + * this code and sets up the correct port numbers when the internal thread, + * using the server code, uses port 0. */ #ifdef WOLFSSL_CALLBACKS int handShakeCB(HandShakeInfo*); diff --git a/examples/server/server.c b/examples/server/server.c index 3e10c8f81..a97bcc93b 100644 --- a/examples/server/server.c +++ b/examples/server/server.c @@ -54,6 +54,10 @@ #include "examples/server/server.h" +/* Note on using port 0: the client and server standalone examples don't + * utilize the port 0 port sharing; that is used by the testsuite which uses + * this code and sets up the correct port numbers when the internal thread, + * using the server code, uses port 0. */ #ifdef CYASSL_CALLBACKS int srvHandShakeCB(HandShakeInfo*);