I have a server with two different network interfaces, each with a different IP address. How can I create a socket so it\'ll go out a specific IP address?
I\'d prefe
import socket s = socket.socket() s.bind((get_ip_address('eth0'), 0))
from Quora