This is a shell wrapper for ZeroMQ. Currently it can talk with a zeromq server using only a REQ socket.
make. You can customize include or library paths like so:
make LIBRARY_PATH=$HOME/.local/lib INCLUDE_PATH=$HOME/.local/include
You can customize installation prefix like so:
make install PREFIX=$HOME/.local
zmq <SOCKET_TYPE> <DESTINATION_URI> [messages ...]
zmq REQ tcp://localhost:5556 hello
In REQ mode, zmq sends one message, recv's one message, then exits. The messages can be multipart messages -- zmq sends each argument as a message part and prints each part in an incoming message in a new line.
Just like other shell tools, this is mainly for exchanging text-only messages. You are advised to switch to more capable languages for dealing with binary data.