From 535a075a9cec29e1fb8adb7a2964896b46e2dd14 Mon Sep 17 00:00:00 2001 From: Ginger Collison Date: Fri, 7 Jun 2019 10:46:22 -0500 Subject: [PATCH] Update pingpong.md --- developer/connecting/pingpong.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/developer/connecting/pingpong.md b/developer/connecting/pingpong.md index cb26c5d..4c553c2 100644 --- a/developer/connecting/pingpong.md +++ b/developer/connecting/pingpong.md @@ -6,10 +6,10 @@ The client and server use a simple PING/PONG protocol to check that they are bot digraph g { rankdir=LR client [shape=box, style="rounded", label="NATS Client"]; - gnatsd [shape=circle, fixedsize="true", width="1.0", height="1.0", label="nats-server"]; + natsserver [shape=circle, fixedsize="true", width="1.0", height="1.0", label="nats-server"]; - client -> gnatsd [label="PING"]; - gnatsd -> client [label="PONG"]; + client -> natsserver [label="PING"]; + natsserver -> client [label="PONG"]; } @@ -25,4 +25,4 @@ The PING/PONG interaction is also used by most of the clients as a way to flush For example, to set the maximum number of outgoing pings to 5: -!INCLUDE "../../_examples/ping_5.html" \ No newline at end of file +!INCLUDE "../../_examples/ping_5.html"