Question: 1. Simple Chat Web Application Implement the use cases Login, Send a Message, Forward a Message and Receive a Message on the client.html 2. Real-time

1. Simple Chat Web Application

Implement the use cases Login, Send a Message, Forward a Message and Receive a Message on the "client.html"

2. Real-time typing

When a user is typing, send an appropriate message, e.g, typing to the server. The server should forward such message to all clients.

When a client receive such a typing message from the server, display that status message in the UI, e.g., X is typing

Hint: You need to use the setTimeout function in JavaScript to clear this message after some time, i.e. 1000ms.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!