1. 23 Mar, 2017 1 commit
  2. 11 Mar, 2017 1 commit
  3. 27 Sep, 2016 2 commits
    • Min RK's avatar
      add n_events argument to zmq_poller_wait_all · de7fc1fc
      Min RK authored
      avoids unnecessary heap allocations, races on the number of items
      de7fc1fc
    • Min RK's avatar
      Problem: zmq_poller only signals one event · 2bc97966
      Min RK authored
      Solution: zmq_poller_wait_all signals all events
      
      allows signaling multiple events with one call to zmq_poller_wait_all
      rather than emitting only one event.
      
      this prepares for zmq_poll being based on zmq_poller,
      which requires events for all sockets rather than just one.
      2bc97966
  4. 11 Jun, 2016 1 commit
    • Michael Lutz's avatar
      Problem: Windows performance is not optimal due to select(). · 7a6ff07a
      Michael Lutz authored
      Solution: Provide poll() for Windows as well. This is a build option that
      defaults to off as the resulting binary will only run on Windows Vista or
      newer.
      
      This is not tested with alternative Winsock service providers like VMCI,
      but the documentation for WSAPoll does not mention limitations.
      
      On my local machine, throughput improves by ~10 % (20 simultaneous
      remote_thr workes to one local_thr, 10 byte messages), while latency
      improves by ~30 % (measured with remote/local_lat).
      7a6ff07a
  5. 25 Apr, 2016 1 commit
  6. 28 Jan, 2016 1 commit
  7. 22 Oct, 2015 1 commit
  8. 21 Oct, 2015 3 commits
  9. 18 Oct, 2015 1 commit
  10. 02 Jun, 2015 1 commit
  11. 22 Jan, 2015 1 commit
  12. 02 Jan, 2014 1 commit
  13. 11 Apr, 2013 1 commit
  14. 12 Mar, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505
  15. 30 Oct, 2012 1 commit
  16. 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
  17. 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
  18. 27 Aug, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Silence all "unused parameter" warnings from Clang. · 3b984d40
      Arthur O'Dwyer authored
      Compiling without warnings is a good goal, because it makes
      new warnings (which probably indicate bugs) stand out rather
      than getting lost in the spam.
      
      My fixes fall into two categories:
      
          - Adding (void) casts of unused parameters, where their
            unusedness seems like a TODO (or in some cases a bug?).
      
          - Removing parameter names altogether, where the function
            is clearly a stub that will never use its parameters.
      
      Should be no change in behavior.
      3b984d40
  19. 20 Mar, 2012 1 commit
    • Pieter Hintjens's avatar
      Fixed issues #337, #341, and #340 · 6e71a54b
      Pieter Hintjens authored
      * Implemented new ctx API (_new, _destroy, _get, _set)
      * Removed 'typesafe' macros from zmq.h
      * Added support for MAX_SOCKETS (was tied into change for #337)
      * Created new man pages
      6e71a54b
  20. 16 Feb, 2012 1 commit
  21. 15 Feb, 2012 1 commit
  22. 10 Feb, 2012 1 commit
  23. 01 Nov, 2011 1 commit
  24. 31 Oct, 2011 1 commit
  25. 15 Sep, 2011 1 commit
  26. 30 May, 2011 1 commit
  27. 21 Apr, 2011 1 commit
  28. 02 Mar, 2011 1 commit
  29. 06 Dec, 2010 1 commit
  30. 04 Dec, 2010 1 commit
  31. 05 Nov, 2010 1 commit
  32. 30 Oct, 2010 1 commit
  33. 16 Oct, 2010 1 commit
    • Martin Sustrik's avatar
      ZMQ_LINGER socket option added. · 0a03e86e
      Martin Sustrik authored
          1. ZMQ_LINGER option can be set/get
          2. options are part of own_t base class rather than being declared
             separately by individual objects
          3. Linger option is propagated with "term" command so that the
             newest value of it is used rather than the stored old one.
          4. Session sets the linger timer if needed and terminates
             as soon as it expires.
          5. Corresponding documentation updated.
      Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
      0a03e86e
  34. 28 Sep, 2010 1 commit
  35. 01 Sep, 2010 1 commit
  36. 25 Aug, 2010 2 commits
    • Martin Sustrik's avatar
      I/O object hierarchy implemented · d13933bc
      Martin Sustrik authored
      d13933bc
    • Martin Sustrik's avatar
      WIP: Socket migration between threads, new zmq_close() semantics · 05d90849
      Martin Sustrik authored
      Sockets may now be migrated between OS threads; sockets may not be used by
      more than one thread at any time. To migrate a socket to another thread the
      caller must ensure that a full memory barrier is called before using the
      socket from the target thread.
      
      The new zmq_close() semantics implement the behaviour discussed at:
      
      http://lists.zeromq.org/pipermail/zeromq-dev/2010-July/004244.html
      
      Specifically, zmq_close() is now deterministic and while it still returns
      immediately, it does not discard any data that may still be queued for
      sending. Further, zmq_term() will now block until all outstanding data has
      been sent.
      
      TODO: Many bugs have been introduced, needs testing. Further, SO_LINGER or
      an equivalent mechanism (possibly a configurable timeout to zmq_term())
      needs to be implemented.
      05d90849