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

Force ZMQ bind-connect logic #165

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Force ZMQ bind-connect logic #165

merged 2 commits into from
Mar 12, 2024

Conversation

thomas-bc
Copy link
Collaborator

Related Issue(s)
Has Unit Tests (y/n)
Documentation Included (y/n)

Change Description

--> LOTS OF FORMATTING. The actual changes are only a few lines

Fix nasa/fprime#2529
The issue was in the handling of whether to bind/connect on each side of the connection. Basically without any option, both would try to connect. This fix forces ZmqGround to bind, and remove the --zmq-server flag so the behavior cannot change.

Future Work

Once proven reliable, --zmq should be made default and ThreadedTCP should be discontinued.

@thomas-bc thomas-bc requested a review from LeStarch March 11, 2024 23:26
@thomas-bc thomas-bc merged commit 2aa353a into nasa:devel Mar 12, 2024
11 checks passed
@thomas-bc thomas-bc deleted the issue/2529 branch March 12, 2024 00:07
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

Successfully merging this pull request may close these issues.

Revive ZeroMQ middleware layer
2 participants