A simple chat server for the Morserino.
Find a file
2023-10-04 10:28:01 +02:00
src Removing old clients improved. 2023-10-04 10:28:01 +02:00
systemd example systemd service file added 2023-10-04 09:06:35 +02:00
.gitignore Initial commit 2023-10-02 21:52:22 +02:00
Cargo.lock Debugging messages added 2023-10-03 22:11:06 +02:00
Cargo.toml Debugging messages added 2023-10-03 22:11:06 +02:00
README.md README.md aktualisiert 2023-10-04 09:11:25 +02:00

m32chat

m32chat is a simple chat server for the Morserino.

It es a reimplementation of the Python2.7 script m32_chat_server.

The m32chat service listens on port 7373 for UDP messages and rebroadcasts them to the other subscribed Morserino clients.

To subscribe to the service, just send the message hi from your Morserino. The server will respond with :hi and the number of clients connected (1 means you're alone).

If a client is inactive for a certain time, it will be removed from the subscriber list. The server then sends the message :bye to this client. You can also force the removal by sending the message :bye.

Additional notes:

  • Currently no UDP packets are being sent to avoid NAT timeouts
  • The number of clients is restricted (to avoid abuse)
  • Amall delay is introduced (to avoid abuse)