mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
added note to client and server regarding port 0
This commit is contained in:
@@ -52,6 +52,10 @@
|
|||||||
|
|
||||||
#include "examples/client/client.h"
|
#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
|
#ifdef WOLFSSL_CALLBACKS
|
||||||
int handShakeCB(HandShakeInfo*);
|
int handShakeCB(HandShakeInfo*);
|
||||||
|
@@ -54,6 +54,10 @@
|
|||||||
|
|
||||||
#include "examples/server/server.h"
|
#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
|
#ifdef CYASSL_CALLBACKS
|
||||||
int srvHandShakeCB(HandShakeInfo*);
|
int srvHandShakeCB(HandShakeInfo*);
|
||||||
|
Reference in New Issue
Block a user