• Post Reply Bookmark Topic Watch Topic
  • New Topic

nio server need to close the channel???

 
jgm jinggm
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i write a program using nio channel,like this:
server listening client request,accept request and read/write data with client.when server find client close channel,server close the channel and listening continue.
but i found that when server close the channel,the new client can connect the server ,but dont communication with server.Is i donot can close the channel ???
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!