Skip to content

Cannot connect to a broker #71

Answered by adam-fowler
fhainz asked this question in Q&A
Sep 24, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

The output you are seeing is from Network.framework, it doesn't mean you haven't connected. But the issue you have is you've created your client as a local variable of the function. As soon as you leave the function it is deleted.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@fhainz
Comment options

Answer selected by adam-fowler
Comment options

You must be logged in to vote
1 reply
@fhainz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants