Hi Noel. You can replace the call to the forwarder with your own loop. The logic is:
* poll for input on both sockets * when you get input on one socket, read all parts and write to the other socket It's a short loop and writing it yourself will help you debug the problem (which may be elsewhere). -Pieter On Sat, Mar 9, 2013 at 2:51 AM, Noel Anderton <[email protected]> wrote: > 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 > > > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
