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

Publish socket does not recognize new subscribers after first message is published #28

Open
agising opened this issue Feb 15, 2021 · 0 comments

Comments

@agising
Copy link

agising commented Feb 15, 2021

The issue is further described at stack overflow, here: [https://stackoverflow.com/questions/66063569/swiftyzeromq-publisher-does-not-recognise-subscriber-after-first-message-is-publ]

If anyone could prove me wrong or point me in a direction to a solution I'd be very grateful!

EDIT: New subscribers are picked up every time i rebind the publisher socket: pubSocket.bind(endPoint). (-> Throwing an error that the address is already in use, but there seems to be no harm).
I also figured that it all works as intended when I run the code on the xcode iPhone simulator. Wonder if could be the different architectures or somehow connected to Apples Multicast Networking Entitlement.

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

1 participant