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

LinkObject

LinkObject["name", n1, n2]
is an object that represents an active MathLink connection for functions such as LinkRead and LinkWrite.
  • The integer n is a serial number used to distinguish links with the same name.
  • name is typically the name of an external program, or an internet TCP specification of the form port@host.
Represent the active MathLink connection used by the Mathematica kernel:
LinkCreate creates a MathLink connection and returns a LinkObject:
Use LinkClose to close the connection:
List of all active LinkObject objects whose name ends with "shm":
Represent the active MathLink connection used by the Mathematica kernel:
In[1]:=
Click for copyable input
Out[1]=
 
LinkCreate creates a MathLink connection and returns a LinkObject:
In[1]:=
Click for copyable input
Out[1]=
Use LinkClose to close the connection:
In[2]:=
Click for copyable input
 
List of all active LinkObject objects whose name ends with "shm":
In[1]:=
Click for copyable input
Out[1]=
New in 3