diff options
author | Lukas Larsson <[email protected]> | 2016-07-01 17:32:51 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-07-13 14:54:56 +0200 |
commit | 606e660f898264ea75680532c076c56bbe855633 (patch) | |
tree | def63f8c7d35801d8927b9640c404f19f07a4a4c /erts/doc/src/erl_dist_protocol.xml | |
parent | 57c3246511434f42214e113b8902af10ab9cca49 (diff) | |
download | otp-606e660f898264ea75680532c076c56bbe855633.tar.gz otp-606e660f898264ea75680532c076c56bbe855633.tar.bz2 otp-606e660f898264ea75680532c076c56bbe855633.zip |
erts: Review of documentation changes
Diffstat (limited to 'erts/doc/src/erl_dist_protocol.xml')
-rw-r--r-- | erts/doc/src/erl_dist_protocol.xml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/erts/doc/src/erl_dist_protocol.xml b/erts/doc/src/erl_dist_protocol.xml index f1979ac23f..a5949ce15f 100644 --- a/erts/doc/src/erl_dist_protocol.xml +++ b/erts/doc/src/erl_dist_protocol.xml @@ -48,7 +48,7 @@ </item> <item> <p>Authentication (done by <seealso marker="kernel:net_kernel"> - <c>kernel:net_kernel</c></seealso>) (3)</p> + <c>kernel:net_kernel(3)</c></seealso>) (3)</p> </item> <item> <p>Connected (4)</p> @@ -573,7 +573,7 @@ io:format("old/unused name ~ts at port ~p, fd = ~p ~n", <p>Every message in the handshake starts with a 16-bit big-endian integer, which contains the message length (not counting the two initial bytes). In Erlang this corresponds to option <c>{packet, 2}</c> in - <seealso marker="kernel:gen_tcp"><c>kernel:gen_tcp</c></seealso>. + <seealso marker="kernel:gen_tcp"><c>kernel:gen_tcp(3)</c></seealso>. Notice that after the handshake, the distribution switches to 4 byte packet headers.</p> </section> @@ -716,18 +716,18 @@ TCP connect ------------------------------------> send_name --------------------------------------> recv_name -<---------------------------------------------- send_status + <---------------------------------------------- send_status recv_status (if status was 'alive' send_status - - - - - - - - - - - - - - - - - -> recv_status) ChB = gen_challenge() (ChB) -<---------------------------------------------- send_challenge + <---------------------------------------------- send_challenge recv_challenge ChA = gen_challenge(), OCA = out_cookie(B), -DiA = gen_digest(ChB,OCA) +DiA = gen_digest(ChB, OCA) (ChA, DiA) send_challenge_reply ---------------------------> recv_challenge_reply @@ -738,11 +738,11 @@ send_challenge_reply ---------------------------> OCB = out_cookie(A), DiB = gen_digest (ChA, OCB) (DiB) -<----------------------------------------------- send_challenge_ack + <----------------------------------------------- send_challenge_ack recv_challenge_ack DONE ICA = in_cookie(B), - else: check: CLOSE -DiB == gen_digest(ChA,ICA)? +DiB == gen_digest(ChA, ICA)? - if OK: DONE - else: @@ -754,20 +754,20 @@ DiB == gen_digest(ChA,ICA)? <title>Distribution Flags</title> <p>The following capability flags are defined:</p> <taglist> - <tag><c>-define(DFLAG_PUBLISHED,1).</c></tag> + <tag><c>-define(DFLAG_PUBLISHED,16#1).</c></tag> <item> <p>The node is to be published and part of the global namespace.</p> </item> - <tag><c>-define(DFLAG_ATOM_CACHE,2).</c></tag> + <tag><c>-define(DFLAG_ATOM_CACHE,16#2).</c></tag> <item> <p>The node implements an atom cache (obsolete).</p> </item> - <tag><c>-define(DFLAG_EXTENDED_REFERENCES,4).</c></tag> + <tag><c>-define(DFLAG_EXTENDED_REFERENCES,16#4).</c></tag> <item> <p>The node implements extended (3 × 32 bits) references. This is required today. If not present, the connection is refused.</p> </item> - <tag><c>-define(DFLAG_DIST_MONITOR,8).</c></tag> + <tag><c>-define(DFLAG_DIST_MONITOR,16#8).</c></tag> <item> <p>The node implements distributed process monitoring.</p> </item> |