nanomsg

High-performance socket library for building distributed systems

brewmacoslinux
Try with needOr install directly
Source

About

Socket library in C

Commands

nanocat

Examples

Start a nanocat server listening on TCP port 5555$ nanocat --rep --listen tcp://127.0.0.1:5555
Connect nanocat client to a remote server and send a message$ nanocat --req --connect tcp://127.0.0.1:5555 --data 'Hello'
Create a publisher socket broadcasting on a local endpoint$ nanocat --pub --listen ipc:///tmp/broadcast.ipc