I want to connect to two different GoPro cameras using my computer's integrated network card and a USB drive wifi adapter (GoPros connect through Wifi). both GoPros receive commands through the same IP address, 10.5.5.9. So, if I get_ip_address on both available cameras, they return the same result - and as far as I can see, this invalidates using socket to select an interface, which seems to be the most common/popular response to question like this on the interwebs. What I usually see for a potential solution is
s1 = socket.socket()
...except that, as I said, the IP address is the same. So this doesn't select an interface at all; all it can do it open a connection from whatever the 'default' interface is. (Sending commands through this I think would be simple, since they're all sent as URLs, but if it only ever goes through one camera, than the point is defeated.)
I'm not sure where to go with this, or have many more ideas of how to phrase it differently for Google. How can I control traffic through two different interfaces with identical IP addresses?