LinkCreate
✖
LinkCreate
Details and Options

- LinkCreate returns a LinkObject.
- You can use LinkCreate and LinkConnect to set up peer‐to‐peer communication between two Wolfram System processes.
- LinkCreate[] by default creates a shared memory link.
- The option LinkProtocol specifies the underlying data transport protocol to use.
- LinkCreate[LinkProtocol->"TCPIP"] picks an unused TCP/IP port on your computer system and creates a WSTP link on it.
- LinkCreate internally calls a function analogous to the WSOpenArgv() function in the WSTP library.
Examples
Basic Examples (3)Summary of the most common use cases
Create a link with name "test":
In[1]:=1

✖
https://wolfram.com/xid/0e7qdxwy-fhflql
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0e7qdxwy-2bwsxa
In[1]:=1

✖
https://wolfram.com/xid/0e7qdxwy-qxpeb1
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0e7qdxwy-e1nco8
Find an unallocated TCPIP port and create a WSTP link:
In[1]:=1

✖
https://wolfram.com/xid/0e7qdxwy-w758n0
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0e7qdxwy-tngzx7
Wolfram Research (1996), LinkCreate, Wolfram Language function, https://reference.wolfram.com/language/ref/LinkCreate.html.
✖
Wolfram Research (1996), LinkCreate, Wolfram Language function, https://reference.wolfram.com/language/ref/LinkCreate.html.
Text
Wolfram Research (1996), LinkCreate, Wolfram Language function, https://reference.wolfram.com/language/ref/LinkCreate.html.
✖
Wolfram Research (1996), LinkCreate, Wolfram Language function, https://reference.wolfram.com/language/ref/LinkCreate.html.
CMS
Wolfram Language. 1996. "LinkCreate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LinkCreate.html.
✖
Wolfram Language. 1996. "LinkCreate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LinkCreate.html.
APA
Wolfram Language. (1996). LinkCreate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LinkCreate.html
✖
Wolfram Language. (1996). LinkCreate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LinkCreate.html
BibTeX
✖
@misc{reference.wolfram_2025_linkcreate, author="Wolfram Research", title="{LinkCreate}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/LinkCreate.html}", note=[Accessed: 19-June-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_linkcreate, organization={Wolfram Research}, title={LinkCreate}, year={1996}, url={https://reference.wolfram.com/language/ref/LinkCreate.html}, note=[Accessed: 19-June-2025
]}