Results 1 to 3 of 3

Thread: 2 networkcards

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Posts
    2

    Question 2 networkcards

    I have a problem with winsock. I have 2 networkcards in my computer. one for the internet (external) and one for my lan (internal).
    No i'm writing a small program using winsock but winsock uses the wrong networkcard, it uses the external card and it has to use the internalcard to talk with my other computers on the LAN.
    How can I say it has to use the internalcard?

    thx

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Try the Bind method to pick the ip address of the card you want.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Posts
    2
    the bind method did not work
    i used: winsock1.bind 0, localIpAddress

    localIpAddress is the ipadres of the card to my Lan

    is there something i do wrong or is there an other way to do this?

    thx for the help

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