Click here to Skip to main content
13,146,014 members (44,660 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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

1 solution

Rate this: bad
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?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2017
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