Built-in packages / The base package |
The base.MessageServer class allows a program to send a key action over the network to other programs using this service.
This class can be used to join a group of programs to be notified by simple messages (i.e. key events). The programs can run on different machines connected together in a network.
The base.MessageServer uses network API capabilities with Sockets and the UDP protocol. The computers must be configured with a network. The UDP protocol does not guarantee the transmission of datagrams, therefore messages sent with the MessageServer can arrive out of order, duplicated, or go missing without notice.
The UDP port is 6600 and the IP address group is 224.0.1.1. These cannot be changed.