Skip to content

Chat Client Protocol #19

@vitorenesduarte

Description

@vitorenesduarte

We will have a problem when we have a chat client. Let's say the client writes in the socket:

:login username password

Now, if it's successful, our answer is : username, you're logged in.
If not: Login invalid. Check valid username or password.

We could test in the client which one it is, but I don't think it's practical, because we would have to do the same in every user action. Besides that, if we change the server, we'll have to change the client.

So, what's the best solution for this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions