nio - why netty can not make a distinction between socket close and socket half close -


i got interest problem, when close (oio) socket outputstream half close manner, netty server detect event , trigger channelclose method in handler, in client side, socket open , connected, complete close socket in client, time, netty server no reflect.

doesn't strange?

nobody can tell difference. shutdown output sends fin. close sends fin, unless has been sent, i.e. shutdown. fin appears @ receiver eos (eof) condition. server got fin shutdown, saw eos, closed socket, client got fin, saw eos, closed socket, , sent ... nothing server, because fin had been sent.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -