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
Post a Comment