You will be implementing a simple internet chat client.

Em Andamento Postado há 5 anos Pago na entrega
Em Andamento Pago na entrega

Goal Use network sockets in a client-side implementation.

Problem You will be implementing a simple internet chat client. A user will start the client and will need to login to the internet chat server, which will be provided to you. Once authenticated, the user will select one of three ``rooms'' in which to chat. Once in a room, the user can post information and see the posts of others. If you're in a “room”, you can also exit the room or enter another room. In the latter case, you will only get the messages from the new room from that point onward.

Your program should be ready to accept two command line arguments: -h for the name of the host to find the server and -p for the server's port number.

To simplify the overall implementation, you will not need to get messages from others asynchronously. When you send something to the server, the response from the server will contain any messages posted to the room since the last time you received a response.

Your client must be able to send 5 commands to the server: • AUTH -- authenticate the user to the server • ENTER -- enter a specified room • EXIT -- exit a specified room • SAY -- post information in the room • BYE -- deregister from the server

A sixth command, NOOP, is available on the server if you want to use it. NOOP is a “no operation” operation. It gives the server the chance to send data to the client without the client asking for some tasks to be done on the server.

Java Socket IO Desenvolvimento de Software

ID do Projeto: #18333003

Sobre o projeto

Projeto remoto Ativo em há 5 anos