[erlang-questions] Send Port around distributed Erlang nodes
Thu Jun 6 14:34:18 CEST 2013
It is possible to send a port id to other node, but the receiving node can't operate on this port by the received port id. According to the spec of erlang:send/2, in order to send message to this port, the port must be registered with a name, but messages can be send to remote <pid> directly. Is it an intended design ? Do you think it is necessary to allow the following scene be possible: node A listens on a socket S, sends S to node B, and B accepts this S? Is there any considerations about this ability?
More information about the erlang-questions