Thank you for the link, I will go through this.<br><br>-Devangana<br><br><br><br><div class="gmail_quote">On Mon, Jul 15, 2013 at 2:11 PM, Michael Loftis <span dir="ltr"><<a href="mailto:mloftis@wgops.com" target="_blank">mloftis@wgops.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't believe the distribution protocol has changed since like R6 or so.<br>
<br>
<a href="http://www.erlang.org/doc/apps/erts/erl_dist_protocol.html" target="_blank">http://www.erlang.org/doc/apps/erts/erl_dist_protocol.html</a><br>
<div><div class="h5"><br>
On Mon, Jul 15, 2013 at 12:08 PM, Devangana Tarafdar<br>
<<a href="mailto:devangana@gmail.com">devangana@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I am experimenting with the +R <release number> emulator flag as described<br>
> in the erl  man page ( <a href="http://www.erlang.org/doc/man/erl.html" target="_blank">http://www.erlang.org/doc/man/erl.html</a>) and I am<br>
> confused about when I should be using this and also what happens if I do not<br>
> use this when communicating between 2 nodes from different releases.<br>
><br>
> "  +R ReleaseNumber<br>
><br>
> Sets the compatibility mode.<br>
><br>
> The distribution mechanism is not backwards compatible by default. This<br>
> flags sets the emulator in compatibility mode with an earlier Erlang/OTP<br>
> release ReleaseNumber. The release number must be in the range <current<br>
> release>-2..<current release>. This limits the emulator, making it possible<br>
> for it to communicate with Erlang nodes (as well as C- and Java nodes)<br>
> running that earlier release.<br>
><br>
> Note: Make sure all nodes (Erlang-, C-, and Java nodes) of a distributed<br>
> Erlang system is of the same Erlang/OTP release, or from two different<br>
> Erlang/OTP releases X and Y, where all Y nodes have compatibility mode X."<br>
><br>
> This is what I am doing when setting up 2 nodes from release 13B03 and 16B.<br>
> The release numbers difference is greater than 2 so I cannot use the +R flag<br>
> anyway but the nodes have no problems communicating without the flag. I was<br>
> expecting that the nodes would not be able to connect at all but clearly I<br>
> am wrong.<br>
><br>
> #startup<br>
><br>
> #first node<br>
> erl -name node_a -setcookie x<br>
> Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:4:4] [rq:4]<br>
> [async-threads:0] [hipe] [kernel-poll:false]<br>
><br>
> Eshell V5.7.4  (abort with ^G)<br>
> (node_a@myhost.work)1> erlang:system_info(otp_release).<br>
> "R13B03"<br>
><br>
> #second node<br>
> downloads/otp_src_R16B/bin/erl   -name node_b -setcookie x<br>
> Erlang R16B (erts-5.10.1) [source] [64-bit] [smp:4:4] [async-threads:10]<br>
> [kernel-poll:false]<br>
><br>
> Eshell V5.10.1  (abort with ^G)<br>
> (node_b@myhost.work)1>  erlang:system_info(otp_release).<br>
> "R16B"<br>
><br>
><br>
> # subsequent session<br>
> (node_b@myhost.workl)3> net_adm:ping('node_a@myhost.work').<br>
> pong<br>
><br>
><br>
> (node_a@myhost.work)2> nodes().<br>
> ['node_b@myhost.work']<br>
> (node_a@myhost.work)5> net_kernel:disconnect('node_b@myhost.work').<br>
> true<br>
> (node_a@myhost.work)6> nodes().<br>
> []<br>
> (node_a@myhost.work)7> net_adm:ping('node_b@myhost.work').<br>
> pong<br>
> (node_a@myhost.work)8><br>
><br>
><br>
> Thank you for any help in interpreting this.<br>
><br>
> Devangana<br>
><br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
<br>
"Genius might be described as a supreme capacity for getting its possessors<br>
into trouble of all kinds."<br>
-- Samuel Butler<br>
</font></span></blockquote></div><br>