1,847
edits
No edit summary |
m (Remove redundant Category:Packages.) |
||
(6 intermediate revisions by 3 users not shown) | |||
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 signified success. | ||
== The functions == | == The functions == | ||
Line 79: | Line 79: | ||
= Examples = | = Examples = | ||
The zeromq package comes with a number of examples included in it. They can be opened in octave using: | |||
>> edit examples/zmq_example1.m | |||
== basic request/reply pattern == | == basic request/reply pattern == | ||
Line 140: | Line 145: | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
== basic publish subscribe == | == 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 211: | Line 216: | ||
[[Category:Octave Forge]] | |||
[[Category:Octave |