[zeromq-dev] ForwarderDevice in .Net c#

Noel Anderton noelAnderton at cox.net
Sat Mar 9 02:51:16 CET 2013


Hi, I am having no luck getting a Forwarder device working with C# bindings

 

I have created my own rudimentary forwarder the code is here
http://pastebin.com/jwLF68Um

 

I can connect to both the front and backend and publish to, and successfully
subscribe to this, but when I try to do the same with the ForwarderDevice it
does not work.

 

 

My code for the forwarder looks like this

 

ForwarderDevice = new ForwarderDevice(context, "tcp://*:5550",
"tcp://*:5553", DeviceMode.Threaded);

ForwarderDevice.Start();

while (!ForwarderDevice.IsRunning)

{ }

 

The publisher and subscriber both connect and they are unchanged from my
home grown one that works and the provided one that I cant get to work yet.

 

Front end 

Publisher.connect("tcp://localhost:5550")

 

Back end

Subscriber.Connect("tcp://localhost:5553");

 

I am sending a multipart message , but I never receive anything.

 

Any help is appreciated 

 

thanks 

Noel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130308/f50d75e9/attachment.htm>


More information about the zeromq-dev mailing list