Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > MathLink API > MathLink Mathematica Functions >
Mathematica > Systems Interfaces & Deployment > Parallel & Grid Computing > MathLink Mathematica Functions >
MathLink Packets
When exchanging expressions with external programs, the Mathematica kernel uses the convention of wrapping the expressions inside packets which identify what role the expressions have, or how they should be processed.
EvaluatePacket an expression sent purely for evaluation
ReturnPacket the final result of an EvaluatePacket evaluation
    
EnterTextPacket a string to be entered like keyboard input
EnterExpressionPacket an expression to be entered like keyboard input
ReturnTextPacket, ReturnExpressionPacket final results returned
    
TextPacket Print and other incidental output
MessagePacket name of a Mathematica message
    
CallPacket data for calling functions in an installable MathLink program
TUTORIALS
MORE ABOUT
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team