Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

LinkActivate

LinkActivate[lnk]
activates a WSTP connection, waiting for the program at the other end to respond.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Start a subsidiary Wolfram Language kernel process and set it to listen on port :

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input

Connect to :

In[4]:=
Click for copyable input
Out[4]=

Activate the link:

In[5]:=
Click for copyable input
Out[5]=

Create a connecting link that has nothing to connect to:

In[1]:=
Click for copyable input
Out[1]=

Activating the link fails and closes the failed LinkObject:

In[2]:=
Click for copyable input
Out[2]=
Out[2]=
Introduced in 1996
(3.0)