aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes server can not accept all the clients connection request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "server can not accept all the clients connection request" Watch "server can not accept all the clients connection request" New topic
Author

server can not accept all the clients connection request

Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 118
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

Joined: May 21, 2006
Posts: 425

Please edit your name to use a real first and last name. See the Naming Policy for more details.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19719
    
  20

Pushkar, thanks for helping me out


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 118
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

Joined: Feb 27, 2010
Posts: 118
Hi All,

Any reply for my post...................
Suresh Khant
Ranch Hand

Joined: Feb 27, 2010
Posts: 118
Hi All,

Any reply for my post...................
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: server can not accept all the clients connection request