Results 1 to 2 of 2

Thread: internal IP

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Location
    KL Malaysia
    Posts
    64

    Question

    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?

  2. #2
    Junior Member
    Join Date
    May 1999
    Location
    Souderton, PA, USA
    Posts
    19
    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
  •  



Click Here to Expand Forum to Full Width