old client library on Raspberry Pi
I looked around but couldn't find an answer to my question, I apologize in advance if the question is silly or the answer is already present somewhere.
I am a beginner with mosquitto and I'd like to write some simple publish code on my Raspberry Pi, using C. I installed libmosquitto0-dev (which is the 3.1 client library according to the description), included mosquitto.h in my code and started looking through the example code here http://
I assume the libmosquitto version I got is either older or newer. I can try to figure it out but it would be great if I could find some docs for this version. I looked on github but can't find anything where mosquitto.h defines a mosquitto_new() with just 2 args and I am a bit stuck.
Is the documentation for this version somewhere? Preferably with some example code as well?
Thanks in advance for all your help!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- mosquitto Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- merlin13
- Solved:
- Last query:
- Last reply: