Can someone explain the structure of a Pid in Erlang?
Pids looks like this: <A.B.C>
, e.g. <0.30.0>
, but I would like to know what is the meaning of these three "bits": A
, B
and C
.
A
seems to be always 0
on a local node, but this value changes when the Pid's owner is located on another node.
Is it possible to directly send a message on a remote node using only the Pid? Something like that: <4568.30.0> ! Message
, without having to explicitly specify the name of the registered process and the node name ( {proc_name, Node} ! Message
)?