-
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?
-
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