Pieter Hintjens
9e622d542a
Merge pull request #256 from ianbarber/master
...
Removing old ECANTROUTE documentation
2012-02-17 07:03:39 -08:00
Mikko Koppanen
da1920d944
Revert NULL checks in the API
2012-02-17 09:48:04 +00:00
Ian Barber
82bd5431ce
Updating documentation to remove ECANTROUTE error code
2012-02-17 08:01:36 +00:00
Pieter Hintjens
0efb49f12f
Fixed up all references to zmq_msg_size
2012-02-16 12:26:00 -06:00
Mikko Koppanen
2f44faa7ce
Merge pull request #247 from pieterh/sendrecv
...
Added zmq_msg_send/recv functions
2012-02-16 08:58:03 -08:00
Pieter Hintjens
d092f2615c
Renamed peek/poke to get/set
2012-02-15 19:28:29 -06:00
Pieter Hintjens
dcc1725a90
Renamed zmq_getmsgopt to zmq_msg_peek
...
* Added zmq_msg_poke for orthogonality
* Added zmq_msg_more for simplicity
* Fixed up man pages and test program
2012-02-15 18:44:28 -06:00
Pieter Hintjens
fb4748f257
Added zmq_msg_send/recv functions
2012-02-15 15:37:35 -06:00
Pieter Hintjens
5f6b95f4a2
Fixed footers to refer to man page, not all docs
2012-02-15 10:39:18 -06:00
Pieter Hintjens
c85ecfc066
Cleaned up description of multi-part messages
2012-02-15 10:39:18 -06:00
Pieter Hintjens
636de46fe1
Removed section on devices, added new methods
2012-02-15 10:39:18 -06:00
Pieter Hintjens
086c059430
Ported numerous fixes from 2.1 man page
2012-02-15 10:39:18 -06:00
Pieter Hintjens
2000d44109
Fixed syntax error in zmq_getsockopt man page
2012-02-15 09:26:39 -06:00
Ian Barber
cc10c00193
Updating docs with new sockopt
2012-02-14 23:14:33 +00:00
Martin Lucina
22ef966d4a
Update email address in man pages
...
Signed-off-by: Martin Lucina <martin@lucina.net>
2011-12-18 11:19:55 +01:00
Martin Lucina
183e126364
Fix typo in zmq_sendmsg(3) manual page
...
Signed-off-by: Martin Lucina <martin@lucina.net>
2011-12-18 11:12:44 +01:00
Philip Kovacs
bf9062902c
Fix broken VPATH/parallel builds
...
Signed-off-by: Philip Kovacs <phil@philkovacs.com>
2011-11-21 08:10:03 +01:00
Martin Sustrik
f8bd3967bf
Documentation for IPv4ONLY option clarified
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-16 19:49:31 +01:00
Chuck Remes
93529d8c5d
Add zmq_getmsgopt to the API
...
The new function allows to retrieve options (flags)
from zmq_msg_t.
Signed-off-by: Chuck Remes <cremes@mac.com>
Renamed from zmq_msg_flags to zmq_getmsgopt
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-06 14:03:51 +01:00
Martin Sustrik
d20ea25b8c
ZMQ_IDENTITY option re-introduced
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-02 14:33:58 +01:00
Martin Sustrik
1c071f54a6
LABELs removed from the documentation
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-01 14:09:54 +01:00
Martin Sustrik
d31792e652
Default HWMs are set to 1000
...
This patch is meant to prevent users from running out of memory
when using 0MQ in the default configuration.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-10-06 13:12:49 +02:00
Pieter Hintjens
4138aca54b
Fixed doc to clarify how label parts work
...
Signed-off-by: Pieter Hintjens <ph@imatix.com>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-09-03 09:02:56 +02:00
Martin Sustrik
dd7c629a27
Typo fixed in zmq_socket(3)
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-08-19 14:42:31 +02:00
Steven McCoy
784041f5b9
ZMQ_IPV4ONLY option added
...
At this point option exists, is documented and can be set,
however, it has no effect.
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-08-08 12:10:31 +02:00
Martin Sustrik
4bd335932c
ECANTROUTE error documented in zmq_sendmsg(3)
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-21 19:14:39 +02:00
Martin Sustrik
a1e09facb2
ROUTER socket reports error when message cannot be routed
...
Till now, message was silently dropped if it was sent to
a non-existent peer. Now, ECANTROUTE error is returned.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-21 18:54:27 +02:00
Martin Sustrik
ac20e17cbd
Reference to C++ binding removed from zmq(7)
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-18 10:04:05 +02:00
Martin Sustrik
1a40880552
ZMQ_IDENTITY option removed from the documentation
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-18 09:30:37 +02:00
Martin Sustrik
29274811cc
zmq_bind(3) and zmq_connect(3) describe EINVAL error
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-11 16:05:04 +02:00
Martin Sustrik
d7adc3f19a
ZMQ_FILTER option removed
...
The filtering is now done depending on the socket type. SUB socket
filters the messages (end-to-end filtering) while XSUB relies
on upstream nodes to do (imprefect) filtering.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-11 09:57:59 +02:00
Martin Sustrik
a154ef69da
Man pages for send & recv function brought up to date
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-07-11 08:34:20 +02:00
Carl Clemens
3ae73ee11f
Typo in zmq_msg_size(3) fixed
...
Signed-off-by: Carl Clemens <carlclemens1@yahoo.com>
2011-06-26 16:19:45 +02:00
Martin Sustrik
f437c9ed9b
Fix errors in zmq_getsockopt(3) manpage
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-20 12:27:56 +02:00
Martin Sustrik
ab99975ad4
LABEL flag added to the wire format
...
So far there was no distinction between message parts used by 0MQ
and message parts used by user. Now, the message parts used by 0MQ
are marked as 'LABEL'.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-20 11:33:54 +02:00
Martin Sustrik
ed680a395e
Documentation for XPUB and XSUB socket added
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-19 16:39:27 +02:00
Fabien Ninoles
d7923f08ca
Add sockopt ZMQ_RCVTIMEO/ZMQ_SNDTIMEO.
...
- Add doc and tests
- Add options and setup
- Wait using poll/select
Signed-off-by: Fabien Ninoles <fabien@tzone.org>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-17 12:22:02 +02:00
Martin Sustrik
ff93f54653
ZMQ_FILTER socket option added
...
This option is a performance tweak. In devices XSUB socket filters
the messages just to send them to XPUB socket which filters them
once more. Setting ZMQ_FILTER option to 0 allows to switch the
filtering in XSUB socket off.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-12 15:24:08 +02:00
Paul Colomiets
864c18f797
zmq_msg_init_data returns ERRNO instead aborting
...
Signed-off-by: Paul Colomiets <pc@gafol.net>
2011-05-17 10:09:04 +02:00
Martin Sustrik
5d0cffc52f
ZMQ_MULTICAST_HOPS socket option added
...
Sets the time-to-live field in every multicast packet sent from the socket.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-15 18:25:43 +02:00
Martin Sustrik
581697695a
Message validity is checked in the runtime
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-19 08:08:15 +02:00
Martin Sustrik
20e0b7cdcb
zmq_socket(3) describes the EMFILE error code
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-18 09:11:45 +02:00
Martin Sustrik
452ea97f5b
zmq_send(3) manpage improved
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-15 08:03:26 +02:00
Pieter Hintjens
a3b49ca958
Fixed example
...
Signed-off-by: Pieter Hintjens <ph@imatix.com>
2011-04-11 12:14:00 +02:00
Martin Sustrik
b96fe15bb6
Run-time checking for context & socket validity added
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-09 09:35:34 +02:00
Robert G. Jakabosky
2c7af35827
Add note about thread-safety to zmq_msg_init_data() manpage.
...
Signed-off-by: Robert G. Jakabosky <bobby@sharedrealm.com>
2011-04-03 20:44:02 +02:00
Martin Sustrik
599df5203c
PGM wire format specification improved in zmq_pgm(7)
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-01 11:53:51 +02:00
Martin Sustrik
abb184a051
ZMQ_NOBLOCK renamed ZMQ_DONTWAIT
...
Done because of POSIX compliance
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-26 10:38:40 +01:00
Martin Sustrik
bc4a1ce334
ZMQ_HWM split into ZMQ_SNDHWM and ZMQ_RCVHWM
...
These new options allow to control the maximum size of the
inbound and outbound message pipe separately.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-24 16:47:33 +01:00
Martin Sustrik
507718ee1a
ZMQ_HWM type changed to int
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-24 15:43:03 +01:00