LinkClose

LinkClose[link]

closes an open WSTP connection.

Details

  • link must be an active LinkObject, as returned by functions like LinkLaunch and Links.
  • Closing a WSTP connection does not necessarily terminate the program at the other end of the connection.

Examples

Basic Examples  (1)

Create a WSTP connection:

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

Close the open connection:

In[2]:=
Click for copyable input

See Also

LinkObject  LinkInterrupt  LinkConnect  LinkCreate  LinkLaunch  Links  Uninstall  Close

Tutorials

Introduced in 1996
(3.0)