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:

Close the open connection:

Wolfram Research (1996), LinkClose, Wolfram Language function, https://reference.wolfram.com/language/ref/LinkClose.html.

Text

Wolfram Research (1996), LinkClose, Wolfram Language function, https://reference.wolfram.com/language/ref/LinkClose.html.

CMS

Wolfram Language. 1996. "LinkClose." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LinkClose.html.

APA

Wolfram Language. (1996). LinkClose. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LinkClose.html

BibTeX

@misc{reference.wolfram_2023_linkclose, author="Wolfram Research", title="{LinkClose}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/LinkClose.html}", note=[Accessed: 19-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_linkclose, organization={Wolfram Research}, title={LinkClose}, year={1996}, url={https://reference.wolfram.com/language/ref/LinkClose.html}, note=[Accessed: 19-April-2024 ]}