mireo / async-mqtt5

A C++17 MQTT client based on Boost.Asio.
https://spacetime.mireo.com/async-mqtt5/
Boost Software License 1.0
154 stars 11 forks source link

Support for unix socket #16

Open Project579 opened 1 month ago

Project579 commented 1 month ago

It would be nice if UNIX Sockets were supported as a transport medium, this allows creating safer, easier to manage and more performant IPC client/server communication via MQTT on *nix systems.

I have not looked at the code yet but the fact that the library is largely based on Asio should allow for a simple implementation, correct me if I'm wrong.

siladic commented 1 month ago

That’s definitely a good idea. The implementation would require some caution, as Asio’s UNIX socket stream interface differs slightly from the TCP stream interface. However, it’s certainly feasible. We’ll add it to our roadmap.