See the examples getting started guide for an introduction to the examples. M2j Example Programs A client program is a network program that opens and establishes a connection to a server. M2M Demos The included M2M demos are client network programs deed to connect to a server, aka a broker.
The demos include cjat that functions very similarly to the WebSocket upgrade protocol, but without the extra logic required by the WebSocket upgrade and the WebSocket protocol. The documentation for the two included M2M demos m2m-chat.
SMTP is a common method for sending notifications from cgat. Server Example Programs A server program is a network program that waits for and responds to requests from client network programs. The two demo programs WsChatServer.
Certificate Management Example Programs The source file certcheck. The code includes most common root certificates, so it should technically be able to certify any server on the internet with a valid certificate. The m2m-chat.
Example Makefiles Makefiles and project files can be found in.