From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ip-address of remote machine (network streams)

hello,

i am using network streams to transfer data between a host and a client.
how can i obrain the ip-address of the remote machine?

best regards

 

0 Kudos
Message 1 of 3
(2,067 Views)

 

Probably you can't. You need a process running on the remote machine that actively provides the IP address.

 

Cheers

Edgar

0 Kudos
Message 2 of 3
(2,055 Views)

@labviewette wrote:

hello,

i am using network streams to transfer data between a host and a client.
how can i obrain the ip-address of the remote machine?

best regards

 


 

I use an approach modeled after how network printers are discovered. The server broadcasts its IP via UDP packets.

 

ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 3
(2,051 Views)