Skip to content

maxdeliso/gimmel

gimmel

UDP chat server

UDP packets that are received are decoded as JSON and then sent to every address that has previously successfully delivered a message.

howto

terminal 1

commands 1

cd src/gimmel stack run

terminal 2

commands 2

jo to=2 msg=hi | nc localhost -u 1337

output log (before 3)

{"to":1,"msg":"hi"}

output log (after 3)

{"to":1,"msg":"hi"}{"to":2,"msg":"hiback"}

terminal 3

commands 3

jo to=1 msg='hiback' | nc localhost -u 1337

output log

{"to":1,"msg":"hiback"}

test dependencies

build dependencies

dev dependencies

Haskell CI

About

A haskell chat server

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks