ZeroMQを使ってみる

ZeroMQW

install

sudo apt-get install uuid-dev
wget http://www.zeromq.org/local--files/area:download/zeromq-2.0.10.tar.gz
tar xvf zeromq-2.0.10.tar.gz
cd zeromq-2.0.10
./configure && make 
document

doc/の中にある。man用のファイルもある。

cd doc
sudo make install-man
sudo mandb
関数のリスト
zmq (7) 0MQ lightweight messaging kernel
zmq_bind (3) accept connections on a socket
zmq_close (3) close 0MQ socket
zmq_connect (3) connect a socket
zmq_cpp (7) interface between 0MQ and C++ applications
zmq_epgm (7) 0MQ reliable multicast transport using PGM
zmq_errno (3) retrieve value of errno for the calling thread
zmq_forwarder (1) forwarding device for publish-subscribe messaging
zmq_getsockopt (3) get 0MQ socket options
zmq_init (3) initialise 0MQ context
zmq_inproc (7) 0MQ local in-process (inter-thread) communication transport
zmq_ipc (7) 0MQ local inter-process communication transport
zmq_msg_close (3) release 0MQ message
zmq_msg_copy (3) copy content of a message to another message
zmq_msg_data (3) retrieve pointer to message content
zmq_msg_init (3) initialise empty 0MQ message
zmq_msg_init_data (3) initialise 0MQ message from a supplied buffer
zmq_msg_init_size (3) initialise 0MQ message of a specified size
zmq_msg_move (3) move content of a message to another message
zmq_msg_size (3) retrieve message content size in bytes
zmq_pgm (7) 0MQ reliable multicast transport using PGM
zmq_poll (3) input/output multiplexing
zmq_queue (1) forwarding device for request-reply messaging
zmq_recv (3) receive a message from a socket
zmq_send (3) send a message on a socket
zmq_setsockopt (3) set 0MQ socket options
zmq_socket (3) create 0MQ socket
zmq_streamer (1) streamer device for parallelized pipeline messaging
zmq_strerror (3) get 0MQ error message string
zmq_tcp (7) 0MQ unicast transport using TCP
zmq_term (3) terminate 0MQ context
zmq_version (3) report 0MQ library version