I have two network cards with different ip addresses in my PC. One is connected to internet and the other one is connected to internal network using a switch. I have created a program that will try to connect a device connected to the internal network switch. When I run the program it tries to connect the device through the internet and fails. After dissabling the internet card the program is able to connect to the device through the internal switch. I want both the networks active. How can I solve this problem. I am using windows 2000.