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"