Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make client keep recieving message after subscribe to the topic? #30

Open
iriekun opened this issue Nov 9, 2019 · 1 comment

Comments

@iriekun
Copy link

iriekun commented Nov 9, 2019

I connected to a mqtt server and subscribe a topic. The client is hanging if I don't use mqtt.end() but even if I use or don't use mqtt.end(), the client only receive message once. Is it possible to make client keep listening and keep receiving message from server? I would be appreciated if you can help. Thank you in advance!

@RangerMauve
Copy link
Contributor

Would you mind posting some code to reproduce the issue? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants