Click or drag to resize

PacketChangedEventArgsTryGetPacket Method

Gets the packet received from the network that caused this event to be raised. Returns null if the packet has already been read from the socket.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 11.0.0.7658
Syntax
C#
public abstract PacketReader TryGetPacket()

Return Value

Type: PacketReader
The packet that raised the event, or null if that packet has already been read from the socket.
See Also