nng.NETCore icon indicating copy to clipboard operation
nng.NETCore copied to clipboard

ECONNREFUSED when SubscriberOpen

Open x1y9 opened this issue 2 years ago • 0 comments

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.

x1y9 avatar Jun 02 '22 12:06 x1y9