MLEndPacket()
int MLEndPacket(MLINK link) specifies that a packet expression is complete and is ready to be sent on the specified link.
MLEndPacket() should be called to indicate the end of any top-level expression, regardless of whether its head is a standard packet. See The Mathematica Book: Section 2.12.9 and Section 2.12.14.