| Author |
Using NIO for Client Sockets
|
Sameer Amte
Ranch Hand
Joined: Oct 22, 2002
Posts: 38
|
|
I am trying to evaluate the use of NIO for Client Sockets. In our application, we are currently creating one thread per user and each thread has a client socket that is connected to the Server and is constantly get real-time updates. I'm evaluating the possibility of using Selectors and Channels, so that I dont have to create a thread per user. I tried to tweak the samples provided by Sun and I dont seem to be getting a connect event when my client sockets connects to the server. Here is my makeConnections method: Thanks Sameer
|
 |
 |
|
|
subject: Using NIO for Client Sockets
|
|
|