LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP server functions with 2 network cards

Hi!

If I have 2 network cards installed on PC, how do I select to which card to
Register TCPServer?
Or is it possible at all?
I'm using Labwindows/CVI 5.5 and Win2000

Thanks, Kari Yli-Tuomi
0 Kudos
Message 1 of 2
(2,591 Views)
This issue also raise when you use the function call : GetTCPHostAddr which
return only one adr at a time
In my case I have a network board (home network) and an ADSL network
connection.
You may have to try some SDK stuff to solve your problem. However, if we
have a GetHostTCPSocketHandle function call there is no way (for what I
know) to create a socket using SDK and to tell CVI TCP Lib to use it in
further function call.

You may want ot read the following page were I deal with some issue like
this when writting an FTP client.
Even if source code comment are in English you may have to use Google and
translate the page which is originally in french.
See : http://perso.wanadoo.fr/philippe.baucour/pratiquer/tcp/ftp2.html
--
Philippe
Feel free to visit : http://perso.wan
adoo.fr/philippe.baucour



"Kari Yli-Tuomi" a écrit dans le message de
news:3f02dedc@newsgroups....
> Hi!
>
> If I have 2 network cards installed on PC, how do I select to which card
to
> Register TCPServer?
> Or is it possible at all?
> I'm using Labwindows/CVI 5.5 and Win2000
>
> Thanks, Kari Yli-Tuomi
>
>
0 Kudos
Message 2 of 2
(2,591 Views)