This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

LinkProtocol$CurrentLink

$ParentLink

FilledSmallSquare$ParentLink is the MathLink LinkObject currently used for input and output by the Mathematica kernel in a particular session.

FilledSmallSquare When the Mathematica kernel is started by a Mathematica front end, $ParentLink gives the MathLink connection between the front end and the kernel.

FilledSmallSquare You can reset $ParentLink in the middle of a Mathematica session to connect the kernel to a different front end.

FilledSmallSquare See The Mathematica Book: Section 2.12.8.

FilledSmallSquare See also: $CurrentLink, Links, $Input.

LinkProtocol$CurrentLink