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  /
MLReady()

  • intMLReady(MLINKlink) tests whether there is data ready to be read from link.
  • Analogous to the Mathematica function LinkReadyQ.
  • MLReady() is often called in a loop as a way of polling a MathLink connection.
  • MLReady() will always return immediately, and will not block.
  • You need to call MLFlush() before starting to call MLReady().
  • See the Mathematica book: Section 2.12.14.