• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server can not accept all the clients connection request

 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am implementing NIO and using socket to make connections between the server and the clients , I have got some code
from some sites and from some forums(including this forum) , the code works but the problem is that sometimes some of the clients can not connect to the server
and the server application ignores such connections, can any one Could tell me what is the wrong in the code so that we can enhance the performance of the application
and all clients can connect to the server.

TCPProtocolManager.java



TCPServer.java



Main.java



thanks
 
Pushkar Choudhary
Rancher
Posts: 425
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please edit your name to use a real first and last name. See the Naming Policy for more details.
 
Rob Spoor
Sheriff
Pie
Posts: 20545
56
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pushkar, thanks for helping me out
 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pushkar Choudhary & Rob Prime ,

Thanks for the reply. I have not noticed that rules . but anyhow I have changed my first name and last name.
 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Any reply for my post...................
 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Any reply for my post...................
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic