I have created a game server using netty 3.5.8. At first, there is not any problem with sending data from server to client. But when server operates for a while, there are m
ClosedChannelException
merely tells you that the connection has been closed, so, the write request you issued could not be done. It usually means either:
(1) your application closed the connection somewhere else before you write the message or
(2) your peer closed the connection before reading your message.
If you fix (1) and (2), you should not see the ClosedChannelException
anymore.