Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1 KB

README.md

File metadata and controls

56 lines (31 loc) · 1 KB

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