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++
I understand how to use socket() and inet_pton but this seems to be only for a single ethernet port.
The first ethernet port is automatically mapped to 192.168.0.100 and the second is 192.168.0.101
Two part answer.