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

ECONNREFUSED when SubscriberOpen #107

Open
x1y9 opened this issue Jun 2, 2022 · 0 comments
Open

ECONNREFUSED when SubscriberOpen #107

x1y9 opened this issue Jun 2, 2022 · 0 comments

Comments

@x1y9
Copy link

x1y9 commented Jun 2, 2022

My code:

var path = Path.GetDirectoryName(typeof(App).Assembly.Location);
var ctx = new NngLoadContext(path);
var factory = NngLoadContext.Init(ctx);
ISubSocket socketSub = factory.SubscriberOpen().ThenDial(url).Unwrap();

The ECONNREFUSED exception is raised if the publisher is not started, but not if the publisher is started.

Using the python wrapper of nng, no exception is reported in either case.

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