This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Listing of C Functions in the MathLink Library /

MLClose()

FilledSmallSquare void MLClose(MLINK link) closes a MathLink connection.

FilledSmallSquare Calling MLClose() does not necessarily terminate a program at the other end of the link.

FilledSmallSquare Any data buffered in the link is sent when MLClose() is called.

FilledSmallSquare Programs should close all links they have opened before terminating.

FilledSmallSquare See Section 2.13.12 and Section 2.13.14.

FilledSmallSquare See also: MLDeinitialize.