Thank you very much for this info, I will dig this track
hello, I am beginner with codesys and I have some problem to create a TCP client I am using hercule setup to simulate the server. when I send "good morning world" at first, I receive this string in DataRecieved. after if I send a shorter string "hello", I receive in DataRecieved "helloMorning World" with the end of my old message I tried to put a Len(DataRecieved) instead of the SizeOF. but it doesn't work. Do you have any Leads to solve my problem? Many thanks in advance!