k.java.net; nio-...@openjdk.java.net
> Subject: Re: Help needed: Java Socket and close detection
>
> Some further reading...
>
> https://docs.oracle.com/javase/8/docs/technotes/guides/net/articles/connectio
> n_release.html
>
> -Chris.
>
> > On 13 Jul 2016, at 21:37, Dmitry S
Some further reading…
https://docs.oracle.com/javase/8/docs/technotes/guides/net/articles/connection_release.html
-Chris.
> On 13 Jul 2016, at 21:37, Dmitry Samersoff
> wrote:
>
> Christoph,
>
> My $0.2
>
> Typically you see RST packet when the data come to a *closed* socket.
> You should
Christoph,
My $0.2
Typically you see RST packet when the data come to a *closed* socket.
You shouldn't get RST if client/server communication shutdown properly.
Also balancer may take a care about connection shutdown (it needs to
update internal tables) so it's possible that you never get RST af
I don't think this really makes sense as a place to ask these questions,
but I can probably answer them to an extent at least.
When a TCP connection is closed normally, the side (we'll call it A)
which initiates the close (usually by shutting down the write half of
the socket) sends a FIN and