Fork me on GitHub

Project Notes

#108 Zeromq

Zeromq in a nutshell with a quick test of using the library from C.

Notes

Zeromq is

  • also known as zmq, 0mq, 0MQ
  • an open-source universal messaging library - see github
  • is language and platform agnostic

Zeromq:

  • carries messages across inproc, IPC, TCP, UDP, TIPC, multicast and WebSocket
  • supports multiple messaging models: fan-out, pub-sub, task distribution, and request-reply
  • is broker-less by default (though you could build a broker with 0mq)

Checking the Library Version

The version.c is a quick check that the library is installed and usable from C. Using the Makefile…

$ make
gcc -Wall -O3 `pkg-config --cflags libzmq`    version.c  `pkg-config --libs libzmq` -o version
./version
Current 0MQ version is 4.3.2

Credits and References

About LCK#108 messagingzeromqc
Project Source on GitHub Return to the Project Catalog

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.

LittleArduinoProjects LittleModelArt More on my blog