D Dan Haugland Member Licensed User May 10, 2016 #1 Using a socket and asyncstreams to communicate with another app on a separate box. All good until the upstream process goes away, then my client logs a java.net.SocketException: connection reset error. How do I trap that so I can do something graceful? Neither the stream_error nor _terminated event fires in this situation and the socket doesn't seem to have any events to tell me about it.
Using a socket and asyncstreams to communicate with another app on a separate box. All good until the upstream process goes away, then my client logs a java.net.SocketException: connection reset error. How do I trap that so I can do something graceful? Neither the stream_error nor _terminated event fires in this situation and the socket doesn't seem to have any events to tell me about it.
Erel B4X founder Staff member Licensed User Longtime User May 11, 2016 #2 One of these events should file (error or terminated). Make sure that you've implemented them correctly. Upvote 0
One of these events should file (error or terminated). Make sure that you've implemented them correctly.