Editing Zeromq package
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 37: | Line 37: | ||
2. only limited zmq_getsockopt and zmq_setsockopt is currently implemented. | 2. only limited zmq_getsockopt and zmq_setsockopt is currently implemented. | ||
3. functions mostly return true or false for whether they succeeded or failed. In the C binding, 0 | 3. functions mostly return true or false for whether they succeeded or failed. In the C binding, 0 signififed success. | ||
== The functions == | == The functions == | ||
zmq_bind | zmq_bind | ||
Line 52: | Line 49: | ||
zmq_connect | zmq_connect | ||
Connect a zeromq socket to a endpoint | Connect a zeromq socket to a endpoint | ||
zmq_errno | zmq_errno | ||
Line 67: | Line 55: | ||
zmq_getsockopt | zmq_getsockopt | ||
Get current value of a zeromq socket option. | Get current value of a zeromq socket option. | ||
zmq_poll | zmq_poll | ||
Line 83: | Line 68: | ||
zmq_setsockopt | zmq_setsockopt | ||
Set a zeromq socket option. | Set a zeromq socket option. | ||
zmq_strerror | zmq_strerror | ||
Line 95: | Line 77: | ||
zmq_version | zmq_version | ||
Get the zeromq library version numbers. | Get the zeromq library version numbers. | ||
= Examples = | = Examples = | ||
== basic request/reply pattern == | == basic request/reply pattern == | ||
Line 169: | Line 140: | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
== basic publish | == basic publish subscribe pattern == | ||
Example based on client/server example from [http://zguide.zeromq.org/page:all#Getting-the-Message-Out http://zguide.zeromq.org/page:all#Getting-the-Message-Out] | Example based on client/server example from [http://zguide.zeromq.org/page:all#Getting-the-Message-Out http://zguide.zeromq.org/page:all#Getting-the-Message-Out] | ||
Line 240: | Line 211: | ||
[[Category:Octave Forge | |||
[[Category:Octave-Forge]] |