Author Topic: libposixmq - POSIX Message Queue wrapper for soldat scriptcore  (Read 4377 times)

0 Members and 1 Guest are viewing this topic.

Offline Nedi

  • Major(1)
  • Posts: 47
Script name: libposixmq
Script description: External library for SoldatServer (only for Linux) to access POSIX Message Queue standard functions.
Original author(s): Myself.
License: The Unlicense
GitHub repository: https://github.com/nedik/soldat-libposixmq/
Full description:
It's a simple external library that allows easy usage of POSIX Message Queues in SoldatServer. Message queue is a nice and simple method to exchange data between processes. In soldat it can be used to send data to another script or even another program on the same system. ScriptCore functions are mostly self-explanatory with the only difference of:
  • MQ_GetError - which returns errno value
  • MQ_GetStrError - which returns a text description of errno value

For the tutorial of how to use message queues, please read the overview in the manual.

For the source code, example usecase and information about compilation, installation and usage, please read README in the GitHub repository.
« Last Edit: May 04, 2023, 04:19:18 pm by Nedi »