Results 1 to 4 of 4

Thread: Process to select a particular NIC

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2009
    Posts
    18

    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
  •  



Click Here to Expand Forum to Full Width