03-26-2010 04:02 PM
Hi,
I am very new with network programming. I am trying to send and receive messages via the Ethernet port using Labview for a future application. I have a crossover Ethernet cable which connects 2 PCs, one of which has Labview installed. I am trying to ping the other computer using TCP open/listen but I don't know what to put in for the remote port input. Thanks for your help.
SB
Solved! Go to Solution.
03-26-2010 04:37 PM
I recommend you look at the raw socket ping library posted here
http://forums.ni.com/ni/board/message?board.id=170&message.id=70801
03-27-2010 10:37 AM
You cannot send ping packets over a TCP/P connection. Ping packets are part of the ICMP protocol which is completely separate from TCP. ICMP is a peer protocol to TCP. Take a look at the ping library in the earlier post to accomplish what you want.
The use of the crossover cable is transparent to any networking protocols. It is simply the physical interconnect and wiring. From the application's perspective it doesn't matter if you use a crossover or regular cable. It does however matter in terms of the physical connection and teh correct cable must be used to support your environment.
03-27-2010 02:14 PM
Allmost all modern (last 5 years) network ports on computers will figure out themselves if you need a cross-over cable or not.
Ton
03-31-2010 05:21 PM
Hi guys,
Thanks for the help. Got it to work after assigning static IP addresses for both computers and disabling firewall. Moving to HTTP and HFTP file transfer now... I am excited!