LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Internet tool kit how to communicate with 2 computers which are far apart and each computer is part of local network

Hi,
 
I started using internet tool kit very recently.
I have an application as briefed below,
Computer 1 is connected to local network 1.
Computer 2 is connected to Remote network 2.
Network 1 and Remote network 2 are far apart and they are connected to internet.
It is required to open a Telnet session between computer 1 and 2 through internet.
How to achieve this?
Which are the functions to be used?
Where to enter Gateway  and Subnet mask addresses?
Can any body help me out.
 
Regards
 
SajK
 
 
0 Kudos
Message 1 of 2
(2,367 Views)
Have you looked at the shipping example called Telnet Line Client? I have had no problem using that to connect to telnet servers. I have not tried to create a server from the toolkit but doing so shouldn't be to different from the TCP/IP server examples in which you create a listener (Telnet Listen) and then do a Telnet Wait On Listener.
 
I don't understand your question about gateway and subnet. To establish a connection, you provide the telent port number (default of 23) and the IP or hostname. If you already have an Internet connection, your OS should already have a default gateway defined.
Message 2 of 2
(2,359 Views)