This sample creates or opens a database using shared memory and runs a sniffer.
In a console window, run:
createdb_snifferThen, in a second console window, run:
ConnectCtxFor a more instructive experience, run one instance in your development environment's debugger and step through the code.