Click here to Skip to main content
11,640,297 members (63,182 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET Network
need an input on how to connect to active directory using specific lan connection

Domain Abc -> connection 1 Domain xyz -> connection 2

i have 2 nic card which connects to diff network. at this moment we use virtual image when we need to check /reset any account on active directory for a specific xyz.

i have wrote a small app which allows me to access AD (ABC) which use connection 1

on net i came across and have gone through Socket Class (System.Net.Sockets) / System.Net.Sockets Namespace and before do more research/reading

can anyone suggest what is the way to bind it connection 2 using .net
Posted 30-Jan-13 15:23pm
alpweb452

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Why?? You do not bind an application to a NIC. An application is bound to a socket (IP/port combination) and the IP routing table will pick the correct NIC automatically for transport to a destination IP without you doing anything at all!

Maybe a bit more detailed explanation of what you're doing and your setup would be in order?
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Suvendu Shekhar Giri 215
1 Mika Wendelius 188
2 CPallini 167
3 Sergey Alexandrovich Kryukov 139
4 OriginalGriff 125


Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100