<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">You can use a cnode if you want the
      c/c++ to act like a distributed Erlang node, but that would be for
      normal LAN usage (no high latency) and it would be a hidden node
      (not a normal visible node that everyone is connected to).  I have
      CloudI (<a class="moz-txt-link-freetext" href="http://cloudi.org">http://cloudi.org</a>) which creates separate sockets for each
      thread used in c/c++ source code (for each OS process spawned),
      but the OS processes are managed like an Erlang port is managed,
      by the Erlang VM.  If you need something independent completely,
      you can just do a normal separate protocol with c/c++ clients
      connecting to an Erlang server, using msgpack or something similar
      for the protocol.  It just depends on what is required.<br>
      <br>
      (it is generally better to send emails to
      <a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>, the
      <a class="moz-txt-link-abbreviated" href="mailto:erlang-programming@googlegroups.com">erlang-programming@googlegroups.com</a> emails get lost often due to
      google plus issues)<br>
      <br>
      On 05/23/2014 01:19 PM, James wrote:<br>
    </div>
    <blockquote
      cite="mid:42469c65-47f1-4f9b-90c5-ac44a5a52520@googlegroups.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>I need to pass messages between an erlang application and a
          native program, existing as peers rather than either being the
          subordinate of the other.</div>
        <div>There is some documentation on ports, but these are all
          erlang applications that call subordinate native applications
          to do something like computation.<br>
        </div>
        <div>
          <div>
            <div><br>
            </div>
            <div>I know I could use tcp sockets, but I am not sure that
              fits our needs.</div>
          </div>
          <div><br>
          </div>
          <div>If some people could offer some recommendations, I would
            appreciate it. <br>
          </div>
          <div><br>
          </div>
          <div>I am also looking at a message brokerage framework like
            rabbitmq, but it seems that the message passing between
            erlang applications is limited to erlang.<br>
          </div>
          <div>An example of passing messages between erlang and c/c++
            applications would certainly be great.</div>
          <div><br>
          </div>
          <div>Much thanks. </div>
        </div>
        <div># james</div>
        <div><br>
        </div>
      </div>
      -- <br>
      Remember to send a copy to erlang (dot) questions (at) erlang
      (dot) org when posting.<br>
      --- <br>
      You received this message because you are subscribed to the Google
      Groups "Erlang Programming" group.<br>
      To unsubscribe from this group and stop receiving emails from it,
      send an email to <a moz-do-not-send="true"
        href="mailto:erlang-programming+unsubscribe@googlegroups.com">erlang-programming+unsubscribe@googlegroups.com</a>.<br>
      To post to this group, send email to <a moz-do-not-send="true"
        href="mailto:erlang-programming@googlegroups.com">erlang-programming@googlegroups.com</a>.<br>
      Visit this group at <a moz-do-not-send="true"
        href="http://groups.google.com/group/erlang-programming">http://groups.google.com/group/erlang-programming</a>.<br>
      For more options, visit <a moz-do-not-send="true"
        href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br>
    </blockquote>
    <br>
  </body>
</html>