Results 1 to 2 of 2
  1. #1
    philipina is offline Member
    Join Date
    Nov 2011
    Rep Power

    Default How to simulate Connection reset


    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 " 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,


  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: How to simulate Connection reset

    Moved from Advanced Java.

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 2
    Last Post: 04-29-2011, 08:04 AM
  2. I/O Error: Connection reset...
    By dkennelly in forum Java Servlet
    Replies: 5
    Last Post: 09-17-2010, 04:12 PM
  3. Replies: 2
    Last Post: 01-24-2010, 04:41 PM
  4. Connection reset error in FTP client
    By Waterbottle in forum Networking
    Replies: 0
    Last Post: 03-23-2009, 10:03 AM
  5. Replies: 2
    Last Post: 01-15-2009, 10:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts