This sample creates/opens a database using shared memory and runs a sniffer.
In a console window run
createdb_snifferThen in a second console window run
ConnectCtxBut it is more instructive to run one instance in your development environment debugger, stepping through the code.