// JP opened flex table

Click to See Complete Forum and Search --> : How to make http requests go through a specific network connection?


ykg888
March 16th, 2004, 12:53 AM
Hi,

Suppose a computer has both Ethernet and wireless connection and connects to two different networks respectly, say 10.99.x.x and 192.168.x.x.

I have to write a piece code to download files from a web server.

Now my question is that how I can make the http requests/download go through the Ethernet, now wireless connection?


Thanks a lot!

George

jpo234
March 17th, 2004, 12:49 PM
Have a look at the CreateIpForwardEntry/SetIpForwardEntry functions. They allow you to specify the routing for individual addresses.

Mathew Joy
March 17th, 2004, 11:38 PM
Are you using winsock?

//JP added flex table