Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,10 @@ There are four shared secrets used in the discovery exchange:

**call** An arbitrary string used by the discoverer to trigger a
response from the listener. The string value is
``I heard it``.
``Aloha mKTL``.

**response** An arbitrary string used by the listener to respond to any
received calls. The string value is ``on the X:``.
received calls. The string value is ``E komo mai:``.

================= ==============================================================

Expand All @@ -498,7 +498,7 @@ component of the response after the colon. For example, if a daemon has a
request port listening on port 10079, the full exchange (discovery request,
discovery response) would be::

b'I heard it'
b'Aloha mKTL'

b'on the X:10079'
b'E komo mai:10079'

4 changes: 2 additions & 2 deletions src/mktl/protocol/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@

from .. import meta

call = 'I heard it'
call = 'Aloha mKTL'
call = call.encode()

response = 'on the X:'
response = 'E komo mai:'
response = response.encode()

# There's nothing special about this port number, other than it is not
Expand Down
Loading