1. 22 Jun, 2014 1 commit
    • Martin Hurton's avatar
      Add support for SOCKS proxies · f06ca69a
      Martin Hurton authored
      This is still raw and experimental.
      To connect through a SOCKS proxy, set ZMQ_SOCKS_PROXY socket option on
      socket before issuing a connect call, e.g.:
      
          zmq_setsockopt (s, ZMQ_SOCKS_PROXY,
              "127.0.0.1:22222", strlen ("127.0.0.1:22222"));
          zmq_connect (s, "tcp://127.0.0.1:5555");
      
      Known limitations:
      - only SOCKS version 5 supported
      - authentication not supported
      - new option is still undocumented
      f06ca69a
  2. 12 May, 2014 1 commit
  3. 01 May, 2014 1 commit
  4. 30 Apr, 2014 1 commit
    • Martin Hurton's avatar
      Define i_properties interface · 19c62b93
      Martin Hurton authored
      - copy and move message operations are updated to maintain proper
        reference count of properties object
      - zmq_msg_gets updated to use i_properties interface to fetch property
        value
      - setter/getter added to msg_t class
      19c62b93
  5. 24 Apr, 2014 3 commits
  6. 15 Mar, 2014 1 commit
  7. 12 Feb, 2014 1 commit
  8. 13 Jan, 2014 1 commit
  9. 12 Jan, 2014 1 commit
  10. 01 Nov, 2013 1 commit
    • Erik Hugne's avatar
      zmq: add support for TIPC transport · eab85b52
      Erik Hugne authored
      A ZeroMQ application can opt for TIPC based sockets
      using the TIPC port name format:
      zmq_bind(sb, "tipc://{type,lower,upper}");
      zmq_connect(sc, "tipc://{type,inst}");
      
      'type' is the service ID, and 'lower/upper' can be
      used for service partitioning or basic load
      balancing.
      
      ZeroMQ TIPC transport requires a kernel >= 3.8
      (nonblocking connect support for TIPC).
      Signed-off-by: 's avatarErik Hugne <erik.hugne@ericsson.com>
      eab85b52
  11. 23 Oct, 2013 1 commit
  12. 20 Sep, 2013 2 commits
  13. 15 Sep, 2013 1 commit
    • Pieter Hintjens's avatar
      Added z85 codec to ZMQ API · 576e3ca5
      Pieter Hintjens authored
      * Removed redundant Z85 code and include files from project
      * Simplified use of headers in test cases (now they all just use testutil.hpp)
      * Export zmq_z85_encode() and zmq_z85_decode() in API
      * Added man pages for these two functions
      576e3ca5
  14. 17 Aug, 2013 1 commit
  15. 28 Jun, 2013 1 commit
    • Pieter Hintjens's avatar
      Added Z85 support · 70417701
      Pieter Hintjens authored
      The use of binary for CURVE keys is painful; you cannot easily copy
      these in e.g. email, or use them directly in source code. There are
      various encoding possibilities. Base16 and Base64 are not optimal.
      Ascii85 is not safe for source (it generates quotes and escapes).
      
      So, I've designed a new Base85 encoding, Z85, which is safe to use
      in code and elsewhere, and I've modified libzmq to use this where
      it also uses binary keys (in get/setsockopt).
      
      Very simply, if you use a 32-byte value, it's Base256 (binary),
      and if you use a 40-byte value, it's Base85 (Z85).
      
      I've put the Z85 codec into z85_codec.hpp, it's not elegant C++
      but it is minimal and it works. Feel free to rewrap as a real class
      if this annoys you.
      70417701
  16. 27 Jun, 2013 1 commit
    • Pieter Hintjens's avatar
      Added ZMQ_STREAM socket type · ad779379
      Pieter Hintjens authored
      - designed for TCP clients and servers
      - added HTTP client / server example in tests/test_stream.cpp
      - same as ZMQ_ROUTER + ZMQ_ROUTER_RAW + ZMQ_ROUTER_MANDATORY
      - includes b893ce set ZMQ_IDENTITY on outgoing connect
      - deprecates ZMQ_ROUTER_RAW
      ad779379
  17. 20 Jun, 2013 1 commit
  18. 14 May, 2013 2 commits
  19. 11 Apr, 2013 1 commit
  20. 12 Mar, 2013 1 commit
  21. 29 Oct, 2012 1 commit
    • Hardeep's avatar
      Added support for non-zmq tcp client connections to router socket. · 83387b40
      Hardeep authored
          - Created a new option ZMQ_ROUTER_RAW_SOCK
          - Added new raw_encoder and raw_decoder to receive and send messages in raw form to remote client
          - Added test case file tests/test_raw_sock.cpp
      
          o To create a raw router sock set the ZMQ_ROUTER_RAW_SOCK option
          o ZMQ_MSGMORE flag is ignored for non-id messages
          o To terminate a remote connection send id message followed by zero length data message
      83387b40
  22. 16 Oct, 2012 1 commit
  23. 07 Sep, 2012 1 commit
  24. 05 Sep, 2012 1 commit
    • Martin Hurton's avatar
      Implement new message encoder/decoder · 3f6148ab
      Martin Hurton authored
      This is supposed to become part of the ZMTP/1.1.
      
      The main differences from the ZMTP/1.0 framing protocol are:
      - flags field comes first, followed by the length field
      - long messages are signaled using a flag rather then 0xff escape
      - length field does not include the flags field, 0 is a valid value
      3f6148ab
  25. 03 Jul, 2012 1 commit
  26. 12 Jun, 2012 2 commits
  27. 08 Jun, 2012 1 commit
    • Hiten P's avatar
      Consolidate TCP-specific common code into their own files. · db13fbf4
      Hiten P authored
      The TCP keepalive tuning code has been moved into the newly added
      files; this also allows future TCP-specific code to be added into
      these files, without bloating the IP level code and establishes a
      known file structure for other IP-based transports.
      
      Remember: this is a no-op change, hence no API or functionality
      was changed as part of this commit.
      db13fbf4
  28. 22 Mar, 2012 1 commit
  29. 16 Mar, 2012 1 commit
  30. 16 Feb, 2012 1 commit
  31. 02 Nov, 2011 1 commit
  32. 31 Oct, 2011 2 commits
  33. 15 Sep, 2011 1 commit
  34. 18 Aug, 2011 1 commit