I'm having a problem where a socket appears to be closing by itself.
Here's the (edited) network diagnostic trace:
Exiting Socket#62696216::BeginSend()
Exiting Socket#62696216::EndSend()
Socket#62696216::BeginSend()
Exception in the Socket#62696216::BeginSend - An established connection was aborted by the software in your host machine
Notice that there's a successful send and then there's an error. The error says that the socket was closed locally (i.e. on the host machine), and yet Close was not called. It's an intermittent error, which only happens perhaps once in a thousand times.
How did the socket end up being closed?
I feel like there must be a really simple answer, but it's eluded me for hours. Any help would be much appreciated.
Thank you