|
-
Jul 9th, 2001, 08:47 AM
#1
Thread Starter
New Member
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
-
Jul 9th, 2001, 10:31 AM
#2
Black Cat
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.
-
Jul 10th, 2001, 08:08 AM
#3
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|