<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I guess an obvious question is why does Erlang have an RPC
      mechanism at all?  It's so at odds with the basic architecture of
      message-passing concurrency.</p>
    <p>Miles Fidelman<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 10/5/17 3:02 AM, Brujo Benavides
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+yhPj5kEYh50c--DQG=2R6vFG9Xtxqs_EWy1NDP67KX7xZ2uQ@mail.gmail.com">Only
      for io, AFAIK.<br>
      <div class="gmail_quote">
        <div dir="ltr">On Thu, 5 Oct 2017 at 01:51 Arun <<a
            href="mailto:arunp@utl.in" moz-do-not-send="true">arunp@utl.in</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <p>Hi Brujo,</p>
            <p>Thanks for the information, but i have one more doubt; is
              this behavior only for io:format function calls or the
              execution of the entire function also will be happening in
              the host node.</p>
            Regards,<br>
            Arun P.</div>
          <div bgcolor="#FFFFFF" text="#000000"><br>
            <br>
            <div class="m_1004515118451015374moz-cite-prefix">On Tuesday
              03 October 2017 06:50 PM, Brujo Benavides wrote:<br>
            </div>
            <blockquote type="cite"> Hi Arun,
              <div><br>
              </div>
              <div>That’s <i>intended</i>. It happens because of how
                Erlang redirects all IO through the process
                group_leader.</div>
              <div><a
href="https://stackoverflow.com/questions/12491607/remote-nodes-group-leaders-and-printouts"
                  target="_blank" moz-do-not-send="true">This</a> is the
                best explanatory link I could find googling quickly.</div>
              <div>Hope it helps.</div>
              <div>
                <div>
                  <div style="color:rgb(0,0,0);font-family:'Trebuchet
MS';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
                    <div><span
id="m_1004515118451015374docs-internal-guid-e691a4cc-056a-0210-b8b7-ea8d87d888ad"><span style="font-size:11pt;font-family:Arial;font-weight:700;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap">
<hr></span></span>
                      <div><b><i><a href="http://about.me/elbrujohalcon"
                              target="_blank" moz-do-not-send="true">Brujo
                              Benavides</a></i></b></div>
                    </div>
                  </div>
                  <div style="color:rgb(0,0,0);font-family:'Trebuchet
MS';font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><b></b></div>
                </div>
                <div>
                  <blockquote type="cite">
                    <div>On Oct 3, 2017, at 10:10, Arun <<a
                        href="mailto:arunp@utl.in" target="_blank"
                        moz-do-not-send="true">arunp@utl.in</a>>
                      wrote:</div>
                    <div>
                      <div>Hi all,
                        I have two distributed applications running on
                        two different nodes. And from one node I tried
                        to call the function on the remote node by doing
                        RPC, and its been observed that all the debug
                        prints given in the application running on the
                        remote node is getting printed on the host
                        node's console.
                        Can somebody please tell me in detail why this
                        is happening and how the RPC in erlang works. ?
                        Thanks in advance.
                        Arun P.
                        _______________________________________________
                        erlang-questions mailing list
                        <a href="mailto:erlang-questions@erlang.org"
                          target="_blank" moz-do-not-send="true">erlang-questions@erlang.org</a>
                        <a
                          class="m_1004515118451015374moz-txt-link-freetext"
href="http://erlang.org/mailman/listinfo/erlang-questions"
                          target="_blank" moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a>
                      </div>
                    </div>
                  </blockquote>
                </div>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <div dir="ltr">-- <br>
      </div>
      <div class="gmail_signature" data-smartmail="gmail_signature">
        <div dir="ltr">elbrujohalcon @ iPhone</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
In theory, there is no difference between theory and practice.
In practice, there is.  .... Yogi Berra</pre>
  </body>
</html>