04-30-2017 06:39 PM
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 ?
04-30-2017 07:03 PM
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.
05-01-2017 10:45 AM - edited 05-01-2017 10:48 AM
@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?