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

To run it:

  1. Start the server in one terminal:

    stack run
  2. Send UDP packets from a separate terminal. On Windows with Nmap's ncat (assuming IPv6):

    C:\Users\me>ncat -v -u -6 localhost 1337

    You can then type JSON messages like:

    {"msg":"hello","to":0}
  3. Server operator can respond via the TUI - simply type your message in the input box and press Enter to send it to all connected peers.

test dependencies

build dependencies

dev dependencies

Haskell CI

About

A haskell chat server

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks