Results 1 to 5 of 5

Thread: More than 1 network adapters?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 1999
    Location
    Singapore
    Posts
    32

    Question

    If I have more than 1 network adapters (ethernet, dial-up, etc...) how do I get all their IP addresses so I can Winsock.Bind them? I need to bind my Winsock control to my dial-up adapter, but it defaults to my ethernet card.

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    Do you need to access the one that is connected to the internet, is that the real problem?

    I've seen from other posts here that you connect to a www site (through the winsock control), and the IP address of the Winsock control is automatically set to the one that is connected to the internet.


  3. #3

    Thread Starter
    Member
    Join Date
    Jun 1999
    Location
    Singapore
    Posts
    32

    Thumbs up

    Yeah. I need the one that's connected to the internet. Does that mean that I have to connect my Winsock to any internet website or service and it will be automatically bound to the internet serving adapter?

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    yes, from what I understand, that is what happens

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 1999
    Location
    Singapore
    Posts
    32

    Question

    What if I want my app to choose between several IPs for which adapter to use?

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