term.port

Erlang port identifiers.

class term.port.Port(node_name, id, creation)

Bases: BaseTerm

An Erlang port identifier from another node. Python cannot use it, but it can store it and send it back unchanged: since OTP 26 every node must accept ports with 64-bit ids (DFLAG_V4_NC).

Parameters:
  • node_name (str) – the node that owns the port

  • id (int) – the port number, 0 .. 2^64-1

  • creation (int) – the incarnation of that node, 0 .. 2^32-1