1. 02 May, 2016 3 commits
  2. 01 May, 2016 2 commits
    • hitstergtd's avatar
      Problem: multiple issues with sendiov/recviov · e4539778
      hitstergtd authored
      Solution:
      - Add check for the [count] parameter in zmq_sendiov() and zmq_recviov()
      - Use and add test for zmq_sendiov() in tests/test_iov.cpp
      - Add error state tests for zmq_sendiov() in tests/test_iov.cpp
      - Add error state tests for zmq_recviov() in tests/test_iov.cpp
      - Cleanup tests/test_iov.cpp for style, consistency and clarity
      - Generally improve test coverage for both API methods
      
      Hat-tip:
      @somdoron, @bluca
      e4539778
    • hitstergtd's avatar
      Problem: tune_tcp* related code has style issues · a31c5089
      hitstergtd authored
      Solution: fix it
      a31c5089
  3. 30 Apr, 2016 1 commit
  4. 29 Apr, 2016 1 commit
  5. 26 Apr, 2016 1 commit
  6. 25 Apr, 2016 4 commits
  7. 22 Apr, 2016 1 commit
  8. 21 Apr, 2016 2 commits
  9. 18 Apr, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: can't unbind with bound addr with IPv6 · c8211bf3
      Luca Boccassi authored
      Solution: try to resolve the TCP endpoint passed by the user in the
      zmq_unbind call before giving up, if it doesn't match.
      This fixes a breakage in the API, where after a call to
      zmq_bind(s, "tcp://127.0.0.1:9999") with IPv6 enabled on s would
      result in the call to zmq_unbind(s, "tcp://127.0.0.1:9999") failing.
      Add more test cases to increase coverage on all combinations of TCP
      endpoints.
      c8211bf3
  10. 15 Apr, 2016 2 commits
    • hitstergtd's avatar
      Problem: check_protocol() logic duplicated twice · 8cb27316
      hitstergtd authored
      Problem:
      Conditional logic in check_protocol() that checks if a protocol is supported,
      is duplicated twice. Moreover, the first set of checks to ascertain if a
      protocol is supported is done regardless of whether the particular protocol
      will be built into the library or not.
      
      Solution:
      * Simplify/collapse all supported protocol checks into one in check_protocol()
      * Enclose pgm/epgm/norm socket+protocol match checks with requisite macros
      8cb27316
    • hitstergtd's avatar
      Problem: errno not set if UDP is NOT used with ZMQ_RADIO or ZMQ_DISH · 36237794
      hitstergtd authored
      Solution: set errno to ENOCOMPATPROTO in check_protocol()
      36237794
  11. 14 Apr, 2016 2 commits
  12. 13 Apr, 2016 2 commits
  13. 12 Apr, 2016 3 commits
  14. 10 Apr, 2016 3 commits
  15. 07 Apr, 2016 3 commits
  16. 02 Apr, 2016 3 commits
  17. 31 Mar, 2016 1 commit
    • Matt Powley's avatar
      Fixes for Windows XP compatibility · f2018ab3
      Matt Powley authored
      A Visual Studio build from master (commit id: dac5b45d) using the v140_xp toolset yields a binary that is not XP compatible.
      
      Two libraries contain exports that cannot be found:
       -  IPHLPAPI.DLL : if_nametoindex
       - KERNEL32.DLL : InitializeConditionVariable
      
      The latter export is already dealt with in the file './src/condition_variable.hpp'; however this requires setting the _WIN32_WINNT pre-processor definition.
      I am not experienced enough to figure a work around for the 'if_nametoindex' method, so I have created a new pre-processor definition 'ZMQ_HAVE_WINDOWS_TARGET_XP' and removed the calling of the function with the limitation that these builds cannot handle a IPv6 address with an adapter name.
      
      To make it easier for people targeting XP with an MSVC build I have modified the MSBuild property file to add/modify the pre-processor definitions if they are building using a XP targeting tool set; such as v140_xp.
      f2018ab3
  18. 30 Mar, 2016 2 commits
  19. 29 Mar, 2016 3 commits