Add an incoming packet handler using the provided SendReceiveOptions. Multiple handlers for the same packet type will be executed in the order they are added.
Namespace: NetworkCommsDotNetAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- packetTypeStr
- Type: System String
The packet type for which this handler will be executed
- packetHandlerDelgatePointer
- Type: NetworkCommsDotNet NetworkComms PacketHandlerCallBackDelegate incomingObjectType
The delegate to be executed when a packet of packetTypeStr is received
- sendReceiveOptions
- Type: NetworkCommsDotNet SendReceiveOptions
The SendReceiveOptions to be used for the provided packet type
Type Parameters
- incomingObjectType
- The type of incoming object
See Also