Click or drag to resize

UdpPacketArgsTryGetPacket 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.Protocols
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 11.0.0.7658
Syntax
C#
public override 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