How to convert remote pid to node name

When choosing one structure of client parameters for one OTPgen_server, is it necessary to insert both Pidand Node namein the parameter structure?

Given one remote Pid, is it possible to convert Pidto Node name? I mean the full name of the node, e.g."emacs@yus-iMac.local".

+3
source share
2 answers

The call node(Pid)will return the name of the node it is on Pid.

+3
source

All Articles