|This document is derived from an original post by Tim Dysinger. That post is no longer available, but we have modified and restructured it, as well as making enhancments and corrections. Tim’s original code is on github, but we recommend using the examples here as they have a number of corrections.|
Nanomsg is a messaging framework that attempts to help solve common messaging problems with one of a few patterns ('protocols' in nanomsg parlance.)
Following are examples of each pattern type in C.