Hi,
I founded what is happening.
The client is a third party software for testing modbus.
In theory the TCP SLAVE let me send a lot of requests and the SLAVE will send the responses. But the third party software don't do this. It is not able to get a request if it has not sended the response of the previous request.
I suposed it because of sleeping the worker thread makes it work.
Now, I will try to force to wait until the response has arrived until a new request is sended.
Thanks,
Bookmarks