diff options
Diffstat (limited to 'cpp/examples/qmf-console/ping.cpp')
| -rw-r--r-- | cpp/examples/qmf-console/ping.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/examples/qmf-console/ping.cpp b/cpp/examples/qmf-console/ping.cpp index 405c15f1c4..fe537d48d2 100644 --- a/cpp/examples/qmf-console/ping.cpp +++ b/cpp/examples/qmf-console/ping.cpp @@ -55,6 +55,7 @@ int main_int(int /*argc*/, char** /*argv*/) // Add a broker connection to the session manager. // Broker* broker = sm.addBroker(connSettings); + broker->waitForStable(); uint32_t count = 5; // The number of echo requests we will send to the broker. Object::Vector list; // A container for holding objects retrieved from the broker. |
