well the title sort of says it all. I have a computer with multuple ethernet ports, I want to explicitly use one of those ethernet ports. I know I could configure routing at the OS level to ensure specific port numbers go to a NIC, but is there a way I can control which NIC I use from within a C++ program without modifying the OS?
FYI I'll be running in a linux enviroment.
Thanks.