1. Server Installation: ibm rsmb (MQTT protocol proxy) ReallySmallMessageBroke (rsmb_1.2.0) download. csdn. netdetailwuzehai024735055 install TostartthebrokeronWindows: kernel.
1. server Installation: ibm rsmb (MQTT protocol proxy) Really Small Message Broke (rsmb_1.2.0) http://download.csdn.net/detail/wuzehai02/4735055 installation To start the broker on Windows: In the folder where you installed the broker, double-click broker.exe.
1. Server Installation: ibm rsmb (MQTT protocol proxy)
Really Small Message Broke (rsmb_1.2.0)
Http://download.csdn.net/detail/wuzehai02/4735055
Install
To start the broker on Windows:
- In the folder where you installed the broker, double-click broker.exe.
To start the broker on Linux:
- In a terminal, change to the directory where you installed the broker; for example:
cd /home/laura/broker
- Enter the appropriate command for your platform. For example, on Ubuntu, type:
./broker.ubuntu
Alternatively, to run the broker in the background so that it will continue to run when you log out of the session, enter the following command:
nohup ./broker.ubuntu >> /dev/null &
The broker is now ready to publish messages.
To stop the broker cleanly, type Ctrl-C. On Linux, if you prefer, you can just kill the process of the running broker:
ps -ef | grep brokerkill -term process_id_of_the_running_broker
2 server message sender:
The PHP server uses the PHP library written by SAM for MQTT (the download link is Tokudu PHPMQTT communication project ), send_mqtt.php is a PHP script that receives messages through POST and sends messages to RSMB through SAM.
Http://download.csdn.net/detail/wuzehai02/4735078
3. Message push demo of the ANDROID Client
Http://download.csdn.net/detail/wuzehai02/4735172
Tested by myself, the code is absolutely available