Hello

No sure if I have to post this message here or under the "Network" section...
I have my java application (TCP Client) which communicates with a payment terminal (TCP server).
The problem is that from time to time, at the customer premises, at the socket level I get a "java.net.SocketException: Connection reset".
My application is reacting properly in case of connection lost or if the TCP server drops the connection but not when I get this "Connection reset" exception.
I would like to be able to simulate this exact exception to fix that issue.
Is there anyone who could tell me how to reproduce that?

Thanks in advance for your help,

Remi.