NetworkComms TriggerGlobalPacketHandlers Method (PacketHeader, Connection, MemoryStream, SendReceiveOptions, Boolean)NetworkComms.Net Help
Trigger incoming packet delegates for the provided parameters.

Namespace: NetworkCommsDotNet
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public static void TriggerGlobalPacketHandlers(
	PacketHeader packetHeader,
	Connection connection,
	MemoryStream incomingDataStream,
	SendReceiveOptions options,
	bool ignoreUnknownPacketTypeOverride
)

Parameters

packetHeader
Type: NetworkCommsDotNet PacketHeader
The packet header
connection
Type: NetworkCommsDotNet.Connections Connection
The incoming connection
incomingDataStream
Type: OnlineSystem.IO MemoryStream
The bytes corresponding to the incoming object
options
Type: NetworkCommsDotNet SendReceiveOptions
The SendReceiveOptions to be used to convert incomingObjectBytes back to the desired object
ignoreUnknownPacketTypeOverride
Type: OnlineSystem Boolean
Used to potentially override NetworkComms.IgnoreUnknownPacketTypes property
See Also