[fpc-pascal] libmosquitto headers for FPC

Karoly Balogh (Charlie/SGR) charlie at scenergy.dfmk.hu
Fri Mar 15 02:02:42 CET 2019


Hi,

On Thu, 14 Mar 2019, Marcos Douglas B. Santos wrote:

> > So in case anyone needs this:
> >
> > http://github.com/chainq/mosquitto-p
>
> Good job.
>
> I'm thinking use some like that to split a big desktop application
> code into few other applications, maintaining a communication among
> them.

Well, MQTT is more like a cross-host messaging protocol, like your swarm
of devices can trivally connect to a broker, and send messages, which then
can be subscribed to and processed, also with higher QoS levels it can
retain messages until a certain client connects (for configuration
updates, etc), has quaranteed delivery, etc.

You can use it as an interprocess messaging bus (and we have some projects
where we actually do that, because of reasons), but there are better tools
for that maybe... :)

> Is it a good case to use mosquitto? If so, I can help you on Windows,
> testing and etc.

Well, we use it in production and works well (on Linux). Although older
versions of the library (still distributed in some older 'stable' Linux
distros) had some issues regarding memory leaks, but at least the very
core functionality seems to be quite stable these days. And you can always
compile your own version anyway.

Charlie



More information about the fpc-pascal mailing list