title: Linux: TCP socket programming over multiple ethernet ports
body: <p>I've been scouring the web to see how I can program to utilize two separate ethernet ports (such as eth0 and eth1) in linux using C/C++</p>
  
  <p>I understand how to use socket() and inet_pton but this seems to be only for a single ethernet port.</p>
  
  <p>The first ethernet port is automatically mapped to 192.168.0.100 and the second is 192.168.0.101</p>