libzmq/builds/gyp
Brian Russell b963542e8f Add socket option BINDTODEVICE
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.
2017-07-31 15:31:47 +01:00
..
.gitignore Problem: local build should do its own .gitignore 2016-02-17 12:06:45 +01:00
build.bat Problem: no clue how to run gyp on Windows 2016-02-12 15:48:37 +01:00
platform.hpp Add socket option BINDTODEVICE 2017-07-31 15:31:47 +01:00
project-tests.gsl Problem: gyp does not build tests 2016-02-12 11:31:38 +01:00
project-tests.gypi Problem: test_large_msg requires 2GB of free RAM 2016-03-16 21:47:58 +00:00
project-tests.xml Problem: test_large_msg requires 2GB of free RAM 2016-03-16 21:47:58 +00:00
project.gyp Problem: VC++ gives warnings on inet_addr 2016-02-18 11:46:43 +01:00