LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize communication on tcp/ip

want to achieve synchronous Bi directional Communication in a client server setup using tcp ip .

The client sends some data to the server and immediately start waiting for an acknowledgement from the server. now, how do i ensure that the client reads the acknowledge ment and not the data that it wrote to the server( i am using character 'A' for acknowledgement and the server data being sent back to client can easily have it). I am not sure if I am very clear in asking the question . Please revert if you think you understood the query or may be with little more elaboration you would be able to.
0 Kudos
Message 1 of 3
(3,113 Views)
When you send data on tcp/ip it has a destination address, the sender will not read it. Just curious; why do you want to use synchronous communication? TCP/IP will ensure data transfer and things will run faster if asynchronous.
Message 2 of 3
(3,113 Views)

Ditto Mads statements.

"Syncronous TCP/IP" over ethernet (or any other CDMA network) is an oxymoron.

Ben


Ben Rayner
Certified LabVIEW Developer
www.DSAutomation.com

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