Results 1 to 1 of 1
- 10-06-2011, 09:49 AM #1
Member
- Join Date
- Oct 2011
- Posts
- 2
- Rep Power
- 0
Multi-client authentication server
I'm building a basic username-password authentication server to handle multiple clients. I have done this by spawning a new thread for each connection from the client. Now my problem is this:
If all the server has to do is print "Hello" messages at each client terminal,this approach works very well. But when the server has to take input from the client,such as the username and password,the client program freezes up. The server still goes on accepting new connections(i know this because i have put a println() statement which get executed at the server every time a client requests a connection). Can anyone help me out with this??
Similar Threads
-
Multi client server guidance
By KingOfClubs in forum NetworkingReplies: 1Last Post: 04-12-2011, 01:24 AM -
server-client; client sends a username to the server.
By lkcz in forum New To JavaReplies: 2Last Post: 09-24-2010, 12:31 PM -
Multi Client Server applications, troubles with File I/O
By zackpudil in forum NetworkingReplies: 3Last Post: 01-29-2010, 07:53 AM -
Multi-user chat server and client
By 435.mahesh in forum Java SoftwareReplies: 6Last Post: 04-25-2009, 01:45 AM -
Multi Client/Server Chat Question
By Kodak07 in forum NetworkingReplies: 3Last Post: 03-29-2009, 11:50 PM
Bookmarks