PacketType NextPacket()Function NextPacket As PacketTypePacketType NextPacket()abstract NextPacket : unit -> PacketType Most programmers will use this method rarely, if ever. .NET/Link provides higher-level functions in the IKernelLink interface that hide these low-level details of the packet loop.
| MathLinkException | On any MathLink error, but typically because you have not finished reading the entire contents of the previous packet. |