LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"windows socket" and "datasocket"

I'm developing a LabVIEW application, that needs to communicate with another application, developed in C++. This C++ application uses windows socket.
How can I communicate with this application? If I use the TCP functions in labVIEW I can communicate with this application?
Thank you very much
0 Kudos
Message 1 of 2
(2,943 Views)
Esther.Lopez wrote:
> I'm developing a LabVIEW application, that needs to communicate with
> another application, developed in C++. This C++ application uses
> windows socket.
> How can I communicate with this application? If I use the TCP
> functions in labVIEW I can communicate with this application?

Yes, if the other application also uses Winsock for TCP/IP
communication! Winsock is a networking API supporting many different low
level network protocols. So saying an application uses Winsock does not
secifically enough define that it can communicate with another
application using Winsock. As such it doesn't even matter that app X is
using Winsock and app Z a possible different socket API such as Berkeley
socket or whatever under *nix. As long as the network
protocol such as
TCP/IP or UDP (or many more esoteric ones) is the same at both sides it
should simply work.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 2
(2,943 Views)