Wednesday, May 1, 2013

Test ZeroMQ in C# tutorial

ZeroMQ comes with a lot binding, here is a quick tutorial to pickup the C# one.

Create one console application, and search Zeromq in the Nuget package, you will see one for x64 and one for x86.
image

then we can create a zemomq server and one client which send message to the server,
image

Run the application,
image

for the Node.js, we can install one module called , zmq which is the zeromq binding for node.js
image

then create one simple js code and send a message to the 5555 service,( using buffer as the encoder for utf8)
image

then run the .js
image

And on the zeromq CLR process,you can see the new message

image

No comments:

 
Locations of visitors to this page