You will write a chat room system consisting of a server and four client processes. Each
client process will connect to the server over a socket connection and register a user
name at the server. The server should display the names of the connected clients.
From that point, any messages typed at one client should be sent to the server which will
relay it to the other connected clients. The operation should be similar to any number of
chat room applications. The chat interface should be a very simple GUI: a box to
display messages and enter text will suffice.
When a client logs onto the server, every client in the system should instantiate a timer
to track the interval between messages received from that client. The interval between
messages received from that client should be printed along with the message itself.
For example: clients A, B, C, and D are connected to a server. If client A send a
message “Hello” at time 1:00, then sends message “All you” at time 1:04, and message
“listeners” at time 1:05, the output at clients B, C, and D should read something like:
A (0:00) – Hello
A (0:04) – All you
A (0:01) – listeners
If a client logs off the other clients should be notified. The server should also display the
messages that come through. The messages should use HTTP formats and commands.
The HTTP tags must use, at minimum, Host, User-Agent, Content-Type,
Content-Length, and Date. If you are polling the server, use GET. If you are sending
data to the server, use POST.
Your program must operate independently of a browser. Time on the messages should be encoded according to HTTP.
Hi,
I am good at node.js and you know, web chat is built perfectly by node.js. I also have the simple demonstration. Would you like to see it?
regards,
Hi
I am Tapas Das from India.
I have a total 17 years of experience in Java technology.
coming to your requirement, I can do it in 3 days with full testing.
please let me know your thoughts.
once finalized, I can start working.
I will take the payment once I delivered the package.
regards
Tapas D
Dear sir
I would like to tell you this is very easy work.
I've done many java socket programing between server and client
If you want I can show you my demo
Hope for your kind contact
Thank you.
5+ years of experience in developing enterprise level optimized applications using various technology stacks : Asp Dot Net, MVC ,MVVM, WPF, Database Services Web API WCF , Angular Framework, SPA, PWA.