1. 31 Jul, 2017 1 commit
    • Brian Russell's avatar
      Add socket option BINDTODEVICE · b963542e
      Brian Russell authored
      Linux now supports Virtual Routing and Forwarding (VRF) as per:
      
      https://www.kernel.org/doc/Documentation/networking/vrf.txt
      
      In order for an application to bind or connect to a socket with an
      address in a VRF, they need to first bind the socket to the VRF device:
      
          setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, strlen(dev)+1);
      
      Note "dev" is the VRF device, eg. VRF "blue", rather than an interface
      enslaved to the VRF.
      
      Add a new socket option, ZMQ_BINDTODEVICE, to bind a socket to a device.
      In general, if a socket is bound to a device, eg. an interface, only
      packets received from that particular device are processed by the socket.
      
      If device is a VRF device, then subsequent binds/connects to that socket
      use addresses in the VRF routing table.
      b963542e
  2. 14 Jul, 2017 1 commit
    • Marc Sune's avatar
      Problem: adapt, clarify docs ZMQ_ROUTER_MANDATORY · 609c1312
      Marc Sune authored
      Solution:
      
      * Document the new behaviour when generating 'ZMQ_POLLOUT' events
        for ZMQ_ROUTER sockets with 'ZMQ_ROUTER_MANDATORY' set to `1`
      * Add clarifications for 'ZMQ_ROUTER' socket when
        'ZMQ_ROUTER_MANDATORY' is set to `1`
      609c1312
  3. 24 Apr, 2017 1 commit
  4. 03 Jan, 2017 1 commit
  5. 26 Dec, 2016 2 commits
  6. 16 Nov, 2016 1 commit
  7. 03 Jun, 2016 1 commit
  8. 01 May, 2016 1 commit
    • hitstergtd's avatar
      Problem: zmq_setsockopt(3) man page formatting · 4809926c
      hitstergtd authored
      Solution:
      - Update formatting and remove redundant parts from ZMQ_PROBE_ROUTER,
      ZMQ_USE_FD, ZMQ_TCP_MAXRT, ZMQ_TCP_TOS
      - Only cosmetic changes to the content
      - These changes already merged on api.zeromq.org by me
      4809926c
  9. 20 Mar, 2016 1 commit
    • Frederic Tregon's avatar
      Fixed issue #1695 (ZMQ_REQ_CORRELATE) · e45dfe3b
      Frederic Tregon authored
      Problem: when using ZMQ_REQ_RELAXED + ZMQ_REQ_CORRELATE and two 'send' are
      executed in a row and no server is available at the time of the sends,
      then the internal request_id used to identify messages gets corrupted and
      the two messages end up with the same request_id. The correlation no
      longer works in that case and you may end up with the wrong message.
      
      Solution: make a copy of the request_id instance member before sending it
      down the pipe.
      e45dfe3b
  10. 09 Feb, 2016 4 commits
    • Pieter Hintjens's avatar
      Problem: ZMQ_TCP_RECV_BUFFER/SEND_BUFFER are redundant · 7470c00d
      Pieter Hintjens authored
      These options are confusing and redundant. Their names suggest
      they apply to the tcp:// transport, yet they are used for all
      stream protocols. The methods zmq::set_tcp_receive_buffer and
      zmq::set_tcp_send_buffer don't use these values at all, they use
      ZMQ_SNDBUF and ZMQ_RCVBUF.
      
      Solution: merge these new options into ZMQ_SNDBUF and ZMQ_RCVBUF.
      
      This means defaulting these two options to 8192, and removing the
      new options. We now have ZMQ_SNDBUF and ZMQ_RCVBUF being used both
      for TCP socket control, and for input/output buffering.
      
      Note: the default for SNDBUF and RCVBUF are otherwise 4096.
      7470c00d
    • Pieter Hintjens's avatar
      Problem: ZMQ_XPUB_VERBOSE_UNSUBSCRIBE is clumsy · 7f6ed167
      Pieter Hintjens authored
      This option has a few issues. The name is long and clumsy. The
      functonality is not smooth: one must set both this and
      ZMQ_XPUB_VERBOSE at the same time, or things will break mysteriously.
      
      Solution: rename to ZMQ_XPUB_VERBOSER and make an atomic option.
      
      That is, implicitly does ZMQ_XPUB_VERBOSE.
      7f6ed167
    • Pieter Hintjens's avatar
      Problem: ZMQ_TCP_RETRANSMIT_TIMEOUT is a clumsy name · da8ce55a
      Pieter Hintjens authored
      Solution: rename to ZMQ_MAXRT
      
      This is the option name used on Windows, so easier to use and
      remember.
      da8ce55a
    • Luca Boccassi's avatar
      Problem: ZMQ_USEFD does not follow conventions · edc4ee03
      Luca Boccassi authored
      Solution: rename socket option (and variables and files) from usefd
      to use_fd.
      edc4ee03
  11. 08 Feb, 2016 1 commit
  12. 04 Feb, 2016 1 commit
  13. 01 Feb, 2016 3 commits
  14. 08 Dec, 2015 1 commit
    • Ilya Kulakov's avatar
      Add the VMCI transport. · 68b13fbd
      Ilya Kulakov authored
      VMCI transport allows fast communication between the Host
      and a virtual machine, between virtual machines on the same host,
      and within a virtual machine (like IPC).
      
      It requires VMware to be installed on the host and Guest Additions
      to be installed on a guest.
      68b13fbd
  15. 23 Nov, 2015 1 commit
  16. 13 Nov, 2015 2 commits
  17. 08 Nov, 2015 1 commit
  18. 08 Oct, 2015 1 commit
  19. 06 Aug, 2015 1 commit
  20. 04 Aug, 2015 1 commit
  21. 01 Aug, 2015 2 commits
  22. 31 Jul, 2015 1 commit
  23. 23 Jul, 2015 3 commits
  24. 19 Jul, 2015 1 commit
  25. 08 Jul, 2015 2 commits
  26. 26 Jun, 2015 1 commit
    • Jonathan Reams's avatar
      Fix units and default values for heartbeats options · e9a5bc8d
      Jonathan Reams authored
      Set the ZMQ_HEARTBEAT_TIMEOUT to default to the value of
      ZMQ_HEARTBEAT_IVL if it's not explicitly set.
      Change the units of ZMQ_HEARTBEAT_TTL to milliseconds in the API
      and round down to the nearest decisecond so that all the options
      are using the same units.
      Make the maximum heartbeat TTL match the spec (6553 seconds)
      e9a5bc8d
  27. 24 Jun, 2015 1 commit
  28. 05 Jun, 2015 1 commit
    • Kapp Arnaud's avatar
      Update documentation for zmq_setsockopt. · 4ad9a5e5
      Kapp Arnaud authored
      Pull request #1426 now allow for changing the watermark
      after and connect() or a bind(). This patch reflect the
      change in the documentation.
      
      Also closes #1416.
      4ad9a5e5
  29. 14 Apr, 2015 1 commit