[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paho-dev] C++ get_client_id()
- From: Haider Ali <alee.hydr@xxxxxxxxx>
- Date: Wed, 5 Jul 2017 09:11:10 +0500
- Delivered-to: email@example.com
I am using the mqtt C++ client and looking at async_subscribe.cpp sample. Is there a way to get the client ID using get_client_id() inside the message_arrived function? I need this in my scenario where I have multiple clients subscribing to a topic and I need to perform different tasks based on which client sent the message.
Any other way to approach this problem?