-
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
-
Try the Bind method to pick the ip address of the card you want.
-
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