Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/larsmhaugland/mqttchat
A simple MQTT messaging service that works with public brokers
https://github.com/larsmhaugland/mqttchat
mqtt
Last synced: 29 days ago
JSON representation
A simple MQTT messaging service that works with public brokers
- Host: GitHub
- URL: https://github.com/larsmhaugland/mqttchat
- Owner: larsmhaugland
- Created: 2024-07-09T13:54:50.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-12T16:49:19.000Z (4 months ago)
- Last Synced: 2024-10-10T14:02:37.717Z (29 days ago)
- Topics: mqtt
- Language: C#
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MqttChat
A simple .NET WinForms chat application using the MQTT protocol. Only works on public brokers.## Usage
When starting the program a GUID will be generated for as client ID and by default the [HiveMQ public broker](broker.hivemq.com) will be connected to as indicated by the text in the top right. The topic ```MqttChat/#``` will be also automatically be subscribed to.Other public brokers can be connected to by pressing the "Change" button in the top right. In the dialog box, write the hostname of the broker and the port number and press "OK".
On the left is a list of all topics that the client is subscribed to. By clicking the text of the topic that topic is selected. The selected topic is highlighted in cyan.
When a topic is selected the user can type a message in the bottom box and press the "Send" button to send the message to that topic. The message will be sent to the broker and all clients subscribed to that topic will receive the message.
> [!NOTE]
When sending a message, if the selected topic contains one or more wildcard characters the wildcards will be replaced with the client's GUID. For example, if the topic ```MqttChat/#``` is selected the client will send messages to the topic ```MqttChat/GUID```.
>New topics can be subscribed to by typing in a topic in the top left box and pressing the "Subscribe" button.