02-21-2023 03:51 AM
hi everyone,
I have a challenge while using the TCP protocol. I'm trying to poll data using the tcp protocol. in 1st iteration I receive the data as expected (36 bytes) after completing in 2nd loop it throws a timeout error. which I'm expecting because of no data receive or some race condition happening which i am not aware of.
secondly, after making TCP connecting I'm unable to send two commands in row. 1st one works fine but the 2nd one throws an error. both works fine independently.
help would be appreciated. Thank You
Solved! Go to Solution.
03-15-2023 08:53 AM
Hi imkakakhel,
This timeout error can be caused by configuring the TCP/IP functions incorrectly, and can often be cleared without detriment, as long as the data is being received. If the data is not being received, there are several troubleshooting steps are listed in this link.
Regards)
________
Best way to thank is to give Kudos / Mark as a solution.