Chat for Eltech university students
https://github.com/Lmglk/Eltechat
Message from user:
{"flag":"message", "messageId":0, "name":"megalok", "message":"text"}
Login successfully:
{"flag":"loginSuccess"}
Login failure because of nickname:
{"flag":"loginFailureNickname"}
Login failure because of server internal error:
{"flag":"loginServerFailure"}
Another user login:
{"flag":"newUserConnect", "name":"Komdosh", "online":1}
Another user logout:
{"flag":"userDisconnect", "name":"Komdosh", "online":2}
Message:
{"flag":"message", "name":"megalok", "message":"text"}