Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of usernames for unique IDs #1

Open
Haroon-Khel opened this issue May 2, 2018 · 1 comment
Open

Use of usernames for unique IDs #1

Haroon-Khel opened this issue May 2, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@Haroon-Khel
Copy link
Owner

On the client side, the plan is to prompt the user to input a username upon connecting for the first time. This will then be read by the server.

Ideas:
When the thread is started, before entering the while loop, read the first input line.

@Haroon-Khel Haroon-Khel added the enhancement New feature or request label May 2, 2018
@Haroon-Khel
Copy link
Owner Author

Added a username feature.
Users must enter a username when starting their clients, in order to proceed to the chat stage.
Thread on server side waits for the first message to be sent from the client; the first message will be the username, and then jumps into the while loop to receive subsequent messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant