Passing Messages with PID to Erlang from Python using ErlPort -
I want to pass a message from Dragon to Erlang Message Loop: 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 {From (PID}, atom} Format, because my Erring program needs to know which message to send a message.
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. 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
Post a Comment