|
-
Apr 21st, 2009, 09:42 PM
#1
Thread Starter
Junior Member
Process to select a particular NIC
Using winsock, what command do you have to use, to specify which local adapter you use?
For example, I have two nic adapters, 1 WAN, and 1 LAN
Already assigned IP from windows
Wan 100.0.0.98
Lan 100.0.1.98
I would like to use the WAN in one instance, and the LAN in another instance.
I was figureing to need to use two winsock, and binding the ipaddress, but Ive had no luck.
FWIW I found this string
Socket.LocalPort = PortToSendFromHere
With no luck
Last edited by rebelchevy02; Apr 21st, 2009 at 10:25 PM.
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
|