Dev:LightMessaging

LightMessaging is a work-in-progress inter-process communication header-only library by Ryan Petrich. According to its GitHub page, it is a "simple low-level replacement for CFMessagePort".

How to use this library
Headers are available from LightMessaging's GitHub project. If using Theos, place the headers in.

RocketBootstrap
LightMessaging uses RocketBootstrap by default, so be sure to have it set up (instructions here). To have LightMessaging not use RBS, add the following directive before including the LM header:

Timeouts
Use this directive (before including the LM header) to set the timeout:

Server
This must be done in a non-sandboxed process. Typically, this is done in SpringBoard or a non-sandboxed daemon. If you put the server anywhere other than SpringBoard, then you must register the service in SpringBoard using. More info here.

Disclaimer: The server interface is not finished yet; it may change in a future version.

Client
This can be run anywhere; like a command line program, sandboxed process, daemon, etc.

Type helpers
There are some cool helper functions for if you want to send Images / PropertyLists / etc instead of just strings. Look at the header file or other examples to see how to use them.

(this section should be expanded)

Examples

 * libcanopenurl
 * AppList
 * FlipSwitch