This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / The Mathematica Book / Reference Guide / Listing of C Functions in the MathLink Library  /
MLFlush()

  • intMLFlush(MLINKlink) flushes out any buffers containing data waiting to be sent on link.
  • If you call MLNextPacket() or any of the MLGet*() functions, then MLFlush() will be called automatically.
  • If you call MLReady(), then you need to call MLFlush() first in order to ensure that any necessary outgoing data has been sent.
  • See the Mathematica book: Section 2.12.14.
  • See also: MLReadyMLReadyMainBookLinkOldButtonDataMLReady.