Call when you are finished writing the contents of a single packet.
Calling EndPacket is not strictly necessary, but it is good style, and it allows .NET/Link to immediately generate a MathLinkException if you are not actually finished with writing the data you promised to send.
Exception Type | Condition |
---|---|
MathLinkException | On any MathLink error. |
IMathLink Interface | Wolfram.NETLink Namespace