MLNextPacket()
int MLNextPacket(MLINK link) goes to the next packet on link and returns a constant to indicate its head.
See The Mathematica Book: Section 2.12.14. See also: MLNewPacket.