Passing Messages with PID to Erlang from Python using ErlPort -


I want to pass a message from Dragon to {From (PID}, atom} Format, because my Erring program needs to know which message to send a message.

Erlang Message Loop:

  message_loop ([first | remaining]) - {from, ready} -> by% {self (), {reading, before}}, dragon: cast (from, {reading, first}), message_lop (left); {done} & Gt; Python: Cast (from, {reading, first}), message_loop (left); {to, _} -> io: form ("Invalid message received from"); _ - & gt; io: format ("random message") end.   

How do I pass a message like this using the ARORTPART Can I use any other technique that can be used to communicate selectively after the spelling of many of them?

As you can see in the document, there is no alternative to doing it automatically.

Can you do represent the string with er PID Lang: pid_to_list / 1 , or the dragon. And you can use the erlang: list_to_pid / 1 when you get it from the dragon. It should work quite well.

Comments

Popular posts from this blog

c# - Textbox not clickable but editable -

Matlab transpose a table vector -

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -