You will use thread to implement a chat room that includes mulitiple clients and a server.

Client program provides commands: **login** (allow users to join chat room), **send** (unicast or broadcast a message; actually send message to server and server forwards message), **logout** (quit chat room), and **who** (list all clients in chat room).

Server runs chat room service, manages all clients and distributes messages. Server port number is 123456


Use these initial user accounts (UserID, Password): (tom, tom11), (david, david22), (beth, beth33), and (john, john44).

1. **login** UserID Password

If server can verify UserID and Password, server will send a confirmation message to client and inform all other clients that this client joins chat room; otherwise, server will decline login and send an error message to client.

2. **send all** message

Send “message?? to server. Server will precede message with UserID of sender and broadcast message to all other clients.

3. **send UserID** message

Send “message?? to server. Server will precede message with UserID of sender and unicast message to client “UserID??.

**4. who

** List all clients in chat room.

**5. logout

** Logout from chat room. Once logout, connection between server and client will be closed. Server will inform all other clients that this client left.


## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Java in Unix shell

Habilidades: Ingeniería, Java, MySQL, PHP, Arquitectura de software, Verificación de software

Ver más: unix service, david tom, tom b, unicast, password 123456, java thread, chatroom, shell unix, java message sender, unix join, port source java, set java environment, chat server unix, sender program java, commands interface, port java program, client client connection java, chat room source code php, php request sender, code chat client server, java code logout, login web service java, implement unix, logout java code, unix commands

Información del empleador:
( 2 comentarios ) United States

Nº del proyecto: #3165020

Adjudicado a:


See private message.

$12 USD en 14 días
(10 comentarios)

3 freelancers están ofertando el promedio de $12 para este trabajo


See private message.

$11.05 USD en 14 días
(39 comentarios)

See private message.

$12.75 USD en 14 días
(0 comentarios)