1. 08 Dec, 2016 1 commit
    • Andreas Rottmann's avatar
      Fix #include case for <mstcpip.h> · 365ca859
      Andreas Rottmann authored
      On native Windows, the file system is case-insensitive, so this this
      doesn't matter there.
      
      However, when compiling on a case-sensitive filesystem, such as when
      cross-compiling from a Unixoid using mingw, we have to use the case
      the file is supplied with, which is all lowercase.
      365ca859
  2. 07 Dec, 2016 1 commit
  3. 06 Dec, 2016 3 commits
  4. 05 Dec, 2016 3 commits
  5. 04 Dec, 2016 1 commit
  6. 03 Dec, 2016 2 commits
  7. 02 Dec, 2016 2 commits
  8. 01 Dec, 2016 2 commits
    • Luca Boccassi's avatar
      Problem: CMake build uses library version as the ABI version · abeaba15
      Luca Boccassi authored
      Solution: set SOVERSION in CMakeLists to match the SONAME generated
      by libtool so that there is no mismatch between the output of the
      *NIX build systems.
      
      Before:
      $ ls -l
      total 2696
      lrwxrwxrwx 1 luca luca      15 Dec  1 22:36 libzmq.so -> libzmq.so.4.2.0
      lrwxrwxrwx 1 luca luca      15 Dec  1 22:36 libzmq.so.4.2.0 -> libzmq.so.4.2.1
      -rwxr-xr-x 1 luca luca  906168 Dec  1 22:36 libzmq.so.4.2.1
      $ readelf -d libzmq.so.4.2.1 | grep SONAME
       0x000000000000000e (SONAME)    Library soname: [libzmq.so.4.2.0]
      
      After:
      $ ls -l
      total 2700
      lrwxrwxrwx 1 luca luca      15 Dec  1 22:31 libzmq.so -> libzmq.so.5.1.0
      -rwxr-xr-x 1 luca luca  906168 Dec  1 22:31 libzmq.so.4.2.1
      lrwxrwxrwx 1 luca luca      15 Dec  1 22:31 libzmq.so.5.1.0 -> libzmq.so.4.2.1
      $ readelf -d libzmq.so.4.2.1 | grep SONAME
       0x000000000000000e (SONAME)    Library soname: [libzmq.so.5.1.0]
      abeaba15
    • Laughing's avatar
      bug fix: AIX pollset error (#2233) · febf8015
      Laughing authored
      * bug fix: AIX pollset error
      
      buf fix:  AIX only, pollset 'rm_fd' set fd_table to null first then set pe->fd to retired_fd
      
      * remove extra spaces
      
      remove extra spaces
      febf8015
  9. 30 Nov, 2016 2 commits
  10. 24 Nov, 2016 3 commits
  11. 21 Nov, 2016 4 commits
  12. 20 Nov, 2016 4 commits
  13. 16 Nov, 2016 2 commits
  14. 15 Nov, 2016 6 commits
  15. 14 Nov, 2016 4 commits
    • Constantin Rack's avatar
      Merge pull request #2210 from bluca/ipv6_tos_v4_only · b9b0fd87
      Constantin Rack authored
      Problem: IPV6_TCLASS setsockopt fails on IPv4 socket
      b9b0fd87
    • Luca Boccassi's avatar
      Problem: IPV6_TCLASS setsockopt fails on IPv4 socket · 90f091ab
      Luca Boccassi authored
      Solution: if setsockopt errors out and errno is set to ENOPROTOOPT
      (or EINVAL on OSX) ignore it and carry on.
      90f091ab
    • Luca Boccassi's avatar
      Merge pull request #2209 from saifhhasan/master · bc186043
      Luca Boccassi authored
      Make ZMQ_TOS work with IPv6 sockets
      bc186043
    • Saif Hasan's avatar
      Make ZMQ_TOS work with IPv6 sockets · fc8007e8
      Saif Hasan authored
      Summary:
      To set `Type Of Service` for IP layer packets ZMQ provides `ZMQ_TOS` socket
      option. However this only works for v4 sockets. Considering things are moving to
      IPv6 heavily (especially within enterprise networks), ZMQ should support setting
      `traffic class` for v6 based on `ZMQ_TOS`.
      
      There is a subtle difference between v4 and v6 in terms of the positioning of
      field but TOS has same meaning in both v4 and v6. Linux provides following APIs
      for v4/v6 to set TOS field value.
      ```
      // For v4
      setsockopt(fd, IPPROTO_IP, IP_TOS, tos, sizeof(tos));
      
      // For v6
      setsockopt(fd, IPPROTO_IPV6, IPV6_TCLASS, tos, sizeof(tos));
      ```
      
      Test Plan:
      Make sure Cmake works fine and all tests passes.
      Imported this change to `OpenR` project and tested on our local testbed.
      Captured some packets exchanged between PUB/SUB and ROUTER/ROUTER sockets
      pairs. Verify that `TCLASS` value is set as per expectation.
      
      Tasks: #2208
      fc8007e8