|
-
Mar 30th, 2001, 07:38 AM
#1
Thread Starter
Lively Member
When you use winsock control you will get your IP automatically right? What if a computer has 2 IPs? An internal IP and and external IP? Winsock would automatically use internal IP which means that I would be limited to only one IP. What is the workaround for this?
-
Mar 30th, 2001, 01:16 PM
#2
Junior Member
With the assumption that you are connecting to a local network via an "internal" IP address and the Internet through a dialup "external" IP address I believe there's two things you'd have to do:
1. Remove any possible "Default Gateway" entry on your network card's TCP/IP settings (either through Network control panel or temporarily with a route delete 0.0.0.0 on the network card)
2. Set the .LocalIP property to the IP address you want it to communicate on
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|