An open API service indexing awesome lists of open source software.

https://github.com/mageddo/command-line-chat-prototype

Simple command line chat prototype for knowledge
https://github.com/mageddo/command-line-chat-prototype

Last synced: about 1 year ago
JSON representation

Simple command line chat prototype for knowledge

Awesome Lists containing this project

README

          

# introduction
this project it usefull to understand the pattern base of development
of a multhread chat

# to install
- way one

sh compilar.sh

- way two
> Create a java project in eclipse in this folder

# to run it
- Running server

java -cp "bin/" sockets.SocketServer

- Running the client

java -cp "bin/" sockets.SocketCliente

# A example

java -cp "bin/" sockets.SocketCliente
conectando no servidor...
conectado!
digite uma mensagem para o sevidor:
servidor: seja bem vindo
Hi server!!
servidor: você disse: Hi server!!
Hey, not imitate me!
servidor: você disse: Hey, not imitate me!
¬¬ , I hate you!!!
servidor: você disse: ¬¬ , I hate you!!!
ok, forgout it...
servidor: você disse: ok, forgout it...

# observation
the code and the messages are in portuguese