Skip to content

simple multi-threaded chat server written in Java

License

Notifications You must be signed in to change notification settings

jparmstrong/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat

Simple example of implementing a multi-user multi-chatroom server in Java. It's utilizing only core features found in Java including:

  • ExecutorService
  • Observable/Observer
  • Streams
  • ServerSocket

This project was done over the course of two days. There's a ton of missing features. I wouldn't replace your favorite IRC with this just yet.

Getting started

Server

Load into your favorite IDE and run Server as it contains the main().

Client

Log onto chat server and follow the on-screen instructions. It will ask you to pick a username, followed by a chatroom you're interested in joining. If there was an existing conversation, it will bring you up to speed!

telnet localhost 9000

Screenshot

About

simple multi-threaded chat server written in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages