Skip to content

oe1wkl/m32_chat_server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

m32_chat_server

Simple chat server for Morserino-32

This server script listens for UDP messages and rebroadcasts them to all other clients.

To "connect" or "make yourself known" to the server, send "hi" message from your Morserino. Server will respond with ":hi". After that, server will resend all messages from you to all other known clients (you excluded).

If client is inactive (not transmitting) for too long, it will be dropped from the list. This is indicated by ":bye" message sent from the server. To reconnect, send "hi" again.

Additional features:

  • empty keepalive UDP packets sent each 10 seconds to avoid NAT timeouts
  • number of clients is restricted (to avoid abuse)
  • small delay is introduced (to avoid abuse)

Caution: UDP keepalive messages, while invisible, prevent your Morserino-32 from auto-shutdown!

About

Chat server for morserino32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%