The following examples demonstrate some simple client and server programs using both the Communication Adapter Layer classes (through RWSecureSocket) and the Portal Layer classes (through RWSecureSocketPortal).
The examples in this section depend on the macros TRUSTED_CERTS_FILE, SERVER_DATA_FILE, SERVER_CERT_FILE, and SERVER_PRIVATE_KEY_FILE, which are defined in examples\secsock\secsockexampledefs.h. Several of the examples use these macros to determine certificates, servers, and ports.