4 ms·
There really isn't anything more to it than in Pid1 doing Pid2 ! MyMessage (that is the literal syntax in Erlang). The rest is taken care of by the Erlang VM. H
by e_proxus 12y ago
There really isn't anything more to it than in Pid1 doing Pid2 ! MyMessage (that is the literal syntax in Erlang). The rest is taken care of by the Erlang VM. How do you figure out Pid2 (on :room2) from Pid1 (on :room1) then? Either substitute it for Pid2Name, which could be :orange for example, or call and RPC function to room2, MySystem.give_me_a_pid() for example.