From aef76b8e8bdce86e46e2267331b1b957f796653f Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Tue, 26 Mar 2019 17:19:20 +0100 Subject: erts: Document new EPMD response ALIVE2_X_RESP with 32-bit creation. --- erts/doc/src/erl_dist_protocol.xml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'erts/doc/src/erl_dist_protocol.xml') diff --git a/erts/doc/src/erl_dist_protocol.xml b/erts/doc/src/erl_dist_protocol.xml index 185c75fe84..1951d498cd 100644 --- a/erts/doc/src/erl_dist_protocol.xml +++ b/erts/doc/src/erl_dist_protocol.xml @@ -109,7 +109,8 @@ Register a Node in EPMD

When a distributed node is started it registers itself in the EPMD. The message ALIVE2_REQ described below is sent from the node to - the EPMD. The response from the EPMD is ALIVE2_RESP.

+ the EPMD. The response from the EPMD is ALIVE2_X_RESP (or + ALIVE2_RESP).

@@ -155,12 +156,12 @@ HighestVersion

The highest distribution version that this node can handle. - The value in Erlang/OTP R6B and later is 5.

+ The value in OTP 22 and later is 6.

LowestVersion

The lowest distribution version that this node can handle. - The value in Erlang/OTP R6B and later is 5.

+ The value in OTP 22 and later is 5.

Nlen @@ -184,7 +185,24 @@ node is a distributed node. When the connection is closed, the node is automatically unregistered from the EPMD.

-

The response message ALIVE2_RESP is as follows:

+

The response message is either ALIVE2_X_RESP or + ALIVE2_RESP depending on distribution version. If both the node + and EPMD support distribution version 6 then response is + ALIVE2_X_RESP otherwise it is the older ALIVE2_RESP:

+ +
+ + 1 + 1 + 4 + + + 118 + Result + Creation + + ALIVE2_X_RESP (118) with 32 bit creation +
@@ -197,7 +215,7 @@ Result Creation - ALIVE2_RESP (121) + ALIVE2_RESP (121) with 16-bit creation

Result = 0 -> ok, result > 0 -> error.

-- cgit v1.2.3