summaryrefslogtreecommitdiff
path: root/examples/cpp/adhoc.cpp
diff options
context:
space:
mode:
authorJoseph Henry <[email protected]>2020-05-01 21:42:26 -0700
committerJoseph Henry <[email protected]>2020-05-01 21:42:26 -0700
commitdb0f801f07b316d58f3f0e73d18b95262732fdd8 (patch)
tree2be3771fbab48c7f936e6d5997d6bb510d1db2ad /examples/cpp/adhoc.cpp
parent3852e1f85f90c39eb17c4f8695c26f625d284633 (diff)
Update documentation
Diffstat (limited to 'examples/cpp/adhoc.cpp')
-rw-r--r--examples/cpp/adhoc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cpp/adhoc.cpp b/examples/cpp/adhoc.cpp
index 3650dfd..ec6ee0e 100644
--- a/examples/cpp/adhoc.cpp
+++ b/examples/cpp/adhoc.cpp
@@ -35,10 +35,10 @@
* root server has passed contact information to both peers that a direct connection will be
* established. Therefore, it is required that multiple connection attempts be undertaken
* when initially communicating with a peer. After a transport-triggered link is
- * established libzt will inform you via ZTS_EVENT_PEER_P2P for a specific peer ID. No
+ * established libzt will inform you via ZTS_EVENT_PEER_DIRECT for a specific peer ID. No
* action is required on your part for this callback event.
*
- * Note: In these initial moments before ZTS_EVENT_PEER_P2P has been received for a
+ * Note: In these initial moments before ZTS_EVENT_PEER_DIRECT has been received for a
* specific peer, traffic may be slow, jittery and there may be high packet loss.
* This will subside within a couple of seconds.
*