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

https://github.com/ubaldop/chat-challenge

Simple application implementing a TCP chat server with Akka.
https://github.com/ubaldop/chat-challenge

Last synced: 3 months ago
JSON representation

Simple application implementing a TCP chat server with Akka.

Awesome Lists containing this project

README

        

Chat Challenge
---

Simple application implementing a TCP chat server with Akka.

### How to launch the application

Execute the command `sbt run` from the root of this project.
This will start a server listening by default on port 10000.

Once started, you could connect to the server via telnet, as:

`telnet localhost 10000`

and you can start to broadcast your messages to all the other connected clients, like this:

![Usage example](/chat-challenge.gif?raw=true "Usage example")

---

### Application configuration

If you wish to launch the server on a different port or hostname, you can configure it by editing the properties defined in `application.conf`

---

### Tests

The broadcasting engine has been tested using Akka TestKit.