m32chat/README.md

16 lines
900 B
Markdown
Raw Normal View History

2023-10-04 08:38:25 +02:00
# m32chat
2023-10-04 09:08:11 +02:00
m32chat is a simple chat server for the [Morserino](https://www.morserino.info/).
2023-10-04 08:38:25 +02:00
2023-10-04 10:37:41 +02:00
It is a reimplementation of the Python2.7 script [m32_chat_server](https://github.com/sp9wpn/m32_chat_server).
2023-10-04 08:38:25 +02:00
The m32chat service listens on port 7373 for UDP messages and rebroadcasts them to the other subscribed Morserino clients.
2023-10-04 09:11:25 +02:00
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).
2023-10-04 08:38:25 +02:00
2023-10-04 09:09:14 +02:00
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`.
2023-10-04 08:38:25 +02:00
Additional notes:
2023-10-04 10:37:41 +02:00
- Periodically, empty UDP packets are being sent to avoid NAT timeouts
2023-10-04 08:38:25 +02:00
- The number of clients is restricted (to avoid abuse)
- Amall delay is introduced (to avoid abuse)