added note to client and server regarding port 0

This commit is contained in:
John Safranek
2015-12-23 12:20:53 -08:00
parent d17549f848
commit 4b836f8476
2 changed files with 8 additions and 0 deletions

View File

@@ -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*);

View File

@@ -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*);