Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 NICS, how to address a specific one for each task?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
2 NICS, how to address a specific one for each task?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01281314
Message ID:
01281314
Views:
58
Hi
I have a workstation that runs 24/7 many routines, connects to vfp9 web services worldwide, create xmlhttp objects to connect to other apps, runs web services and executes work in the lan and many many more.
Lately, one of the connections required and IPSEC VPN connection, which forced me to use 2 NICS ( network cards ) for that computer.
Now i have the following setup:
Card 1, IP: 10.103.37.8 ---> this one creates a socket connection through vpn
Card 2, IP: 192.168.1.5 ---> this is the normal one, does all the work, web services, browses the internet, etc...
For card1, when i create the socket connection, i can specify my ip address, which works great.
The problem is that i noticed that when browsing the internet now, it takes the system a long time to figure out what ip to use ( card 2 ), and it sometimes even timeout.
I sometimes try: CREATEOBJECT("Microsoft.XMLHTTP") then when trying the .Send() method, i get a "resource not found error" , then i retry and it works.
Same for web services, mssoapinit fails many times.
How can i tell microsoft.xmlhttp and mssoap.soapclient objects to specifically use the CARD2 ip address?

TIA
JAime
Why do programs stop working correctly as soon as you leave the Fox?
Next
Reply
Map
View

Click here to load this message in the networking platform