The communication layeres

Name

The communication layers -- present how TiFFEP communicate through its layers.

Synopsis

#include <tiffep.h>

Description

The (lib)TiFFEP communicates with other instances through 3 layers:
- commands: high-level,
- messages: mid-level.
- shm: low-level.


Why shm ? Sockets do not works under Win32 and pipes do not work under Windows9x. So, I decided to use shared memory segment for communicating.

Theoritically, only commands should be used with the set of functions provided by the libtiffep. Messages can be used in rare cases.
Never use shm directly !
 

Details