title: Java void sendUrgentData() throws SocketException
body: <p>I am trying to use the <strong><em>sendUrgentData()</em></strong> void to determine if a connection is still alive. The data send through this void will be ignored on the server side, but when a connection is lost, sendUrgentData throws a SocketException on the client side. </p>
  
  <p>This is how is should go.
  However, after calling sendUrgentData several times it seems to disconnect and throw the SocketException when the connection is still perfectly alive:</p>
  
  <pre><code>java.net.SocketException: Connection reset by peer: send
  </code></pre>
  
  <p>I checked the network traffic with a sniffer and found that the reset packet was never send.
  How should I solve this? I'm trying to avoid sending this data the normal way to avoid corrupting the data currently in the stream.</p>