Testing on Debian 11 as a possible new server....compiled with debug enabled.
$ sudo BIND_INTERFACE=enp0s31f6 LD_PRELOAD=/usr/lib/bindToInterface.so curl ifconfig.me
connecting to: 192.168.1.1:53
Bound Interface: none. Socket not bound to desired interface (Bound to: none). Binding to interface: enp0s31f6
connecting to: 34.160.111.145:80
Bound Interface: none. Socket not bound to desired interface (Bound to: none). Binding to interface: enp0s31f6
"my_internet_ip"
Actually started trying to bind channels-dvr to a bonded vlan without any success, so dropped back to the curl test case.