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
- Host: GitHub
- URL: https://github.com/mageddo/command-line-chat-prototype
- Owner: mageddo
- Created: 2015-05-31T15:37:06.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-31T15:51:58.000Z (about 11 years ago)
- Last Synced: 2025-02-02T01:41:16.461Z (over 1 year ago)
- Language: Java
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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