The definitive Wolfram Language and notebook experience
The original technical computing environment
All-in-one AI assistance for your Wolfram experience
More mobile apps
We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise
WolframConsulting.com
More Wolfram Solutions
More Solutions for Education
Courses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
int MLMessageReady(MLINK link)
queries the link object link to see if the link has an out-of-band message.
#include "mathlink.h"/* calculate the sum of the integers in a list and check for a message on a link */int f(MLINK lp, int *list, int len){ int sum; while(len--) { sum += *list++; if(MLMessageReady(lp)) { /* read the message */ } } return sum;}
C Functions: MLPutMessage() MLPutMessageWithArg() MLGetMessage() MLSetMessageHandler() MLGetMessageHandler()
Introduced in 1996 (3.0) | Updated in 2007 (6.0)