.NET/Link API Version 1.5 USE FRAMES

PacketHandler Delegate

Represents the method that will handle the PacketArrived event.

[Visual Basic]
Public Delegate Function PacketHandler( _
   ByVal ml As IKernelLink, _
   ByVal pkt As PacketType _
) As Boolean
[C#]
public delegate bool PacketHandler(
   IKernelLink ml,
   PacketType pkt
);

Parameters

ml
The link on which the packet arrived.
pkt
The type of packet.

Return Value

You should always return true.

Remarks

See the discussion for the PacketArrived event for more information.

Requirements

Namespace: Wolfram.NETLink

Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll)

See Also

Wolfram.NETLink Namespace | PacketArrived