1
I have the following project: I want my computer to use three network interfaces at the same time, assuming that I have three different network interface cards.
I think it will be very hard to make software that uses two different network interfaces at the same time (need protocol analysis, etc..), so for now I want to create a local proxy server listening on different ports that will forward the packet it receives to the network interface associated with the proxy port specified in the software.
I've been programming for quite a long time but I've never made such a project, I understand how to build a local server that listens on different ports, but not how to forward packers to the correct network interface. It is here that I'd like your help.
For now I want to do this on Windows 7 (actually I'm tired of lagging while playing D3, that's why ;p).
Thank you in advance!
PS. If you know of a better way to achieve this objective than using a proxy server, I'm open minded!
Assuming the choice of route is global, just set the default routes so different IP ranges go through the desired interface. – Useless – 2012-10-19T15:45:52.993
Could you be a bit more precise pz ? – None – 2012-10-19T15:48:14.210
1http://bit.ly/QBEgDp ... PS, this isn't a C++ question as stated. – Useless – 2012-10-19T15:51:32.770
I do not think it is possible to use routing tables to send packets to different NICs depending on which process sends the packets. I would believe you have to use some virtual network device like a tun/tap device (which involves packet analysis, http://en.wikipedia.org/wiki/TUN/TAP), or just stop downloading while playing D3 :)
– None – 2012-10-19T15:56:02.270