1. 31 Jul, 2017 2 commits
    • Luca Boccassi's avatar
      Problem: ZMQ_BINDTODEVICE is DRAFT but not DRAFT · 415bdbc1
      Luca Boccassi authored
      Solution: move definition in the DRAFT section of the header
      415bdbc1
    • 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. 03 May, 2016 1 commit
  3. 12 Feb, 2016 1 commit
    • Pieter Hintjens's avatar
      Problem: tests don't build on Windows · bbcc79d1
      Pieter Hintjens authored
      There were numerous small issues with test cases:
      
      - some lacked the right source file header
      - some were not portable at all
      - some were using internal libzmq APIs (headers)
      
      Solution: fixed and cleaned up.
      bbcc79d1
  4. 09 Feb, 2016 2 commits
  5. 08 Feb, 2016 1 commit
  6. 04 Feb, 2016 1 commit
  7. 13 Nov, 2015 1 commit