Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Mosquitto pub/sub problem

> I first started the subscriber:
> root@clanton:~# mosquitto_sub -d -t sensors/value
[...]
> 
> And then try sending messages:
> 
> root@clanton:~/mosquitto-1.3.1# mosquitto_pub -d -t sensors/value -m "test"
[...]

> Still the same the messages donĀ¹t arrive at the subscription part.

You are running those commands in different terminals? In other words,
the subscriber waits until the publisher publishes a message. (There is
an exception, namely retained messages, but we'll skip that for now. :)

        -JP


Back to the top