Client server connection
hello,
im stumped to find an algorithm on how i can get a username by using a server/client connection. wait, let me rephrase that - i have made a server which supports multi clients. the client part loads up a gui chat app and connectes to the server. my question is how do i get the server to display the clients name in the "names" list?
the client app asks for a username before it connects, but how does the server know that the thread for user x is the username for user x?
i hope this makes some sense..
thanks

