Handle two network cards from application

G

Guest

Hi,
I´m supposed to handle the communication between a client and a server with
two possible communication "medias", one wierless network card and one common
network card. Does somebody know I can choose wich network card to use from
my application? In some way I want to get information from my machine of
which network cards that is availible and from that choose which one to
communicate or send package with. I should also say that I´m working with C++
..NET but I´m interested in all kinds of answer.

Please help me!!!
 
D

DanS

Hi,
I´m supposed to handle the communication between a client and a
server with two possible communication "medias", one wierless network
card and one common network card. Does somebody know I can choose wich
network card to use from my application? In some way I want to get
information from my machine of which network cards that is availible
and from that choose which one to communicate or send package with. I
should also say that I´m working with C++ .NET but I´m interested in
all kinds of answer.

Please help me!!!

With TCP/IP, you can't really choose a network card to use. If the
destination IP is directly in one of the subnet's of the local NIC's it
will send out that interface. If the destination is in neither, it will be
sent out the default gateway.


DanS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top