LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP connection over Wifi

i'm trying to connect two laptops over WIFI if i mention same port no's and Ip address of server to client will the connection be succesful ?

 

0 Kudos
Message 1 of 3
(4,744 Views)

Look at the LabVIEW examples for send and receive data over TCP/iP.

 

It doesn't matter if the two PC's are connected by Wifi, or a hard wired network.  If one can see the other, if one can ping the other, then the methods to communicate like the TCP/IP examples should work.

0 Kudos
Message 2 of 3
(4,722 Views)

@Mbhatta wrote:

i'm trying to connect two laptops over WIFI if i mention same port no's and Ip address of server to client will the connection be succesful ?


It's just TCP/IP. The transport layer (WiFI, wired, pigeon, etc.)  is irrelevant.

 

Each side needs a unique IP address and (for simplicity) they should be on the same subnet. On the server side (i.e. the computer waiting for incoming connections), you might also need to adjust firewall rules.

 

It is sufficient if the sever port is known to the client, the local client port can be ephemeral. The server can be configured to just reply to the source port of the incoming connection.

 

What kind of "communication" are you trying to do? TCP? UDP?

 

Have you looked at the examples that ship with LabVIEW?

Message 3 of 3
(4,633 Views)