Wolfram Language & System 10.4 (2016)|Legacy Documentation

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

WSTP Wolfram Language Functions

The Wolfram Symbolic Transfer Protocol (WSTP) is a protocol for exchanging symbolic expressions. The Wolfram Language-level WSTP functions can be used with any WSTP-enabled external program, including the Wolfram System itself.


LinkLaunch launch an external program and open a WSTP connection to it

LinkCreate create a WSTP link for another program to connect to

LinkConnect connect to an existing WSTP link

LinkClose close a WSTP link

-wstp command-line option for launching the Wolfram System in WSTP mode

Links list all currently open WSTP links

$ParentLink the WSTP link that called the current Wolfram Language kernel

LinkRead, LinkWrite read or write an expression to a link

LinkReadyQ test whether expressions are ready to be read from one or more links

LinkInterrupt send an interrupt to a link

Packet Wrappers »

EvaluatePacket  ▪  ReturnPacket  ▪  EnterTextPacket  ▪  ReturnTextPacket  ▪  ...