Click or drag to resize

IPacketIOServiceReadAsync Method

Gets a data buffer for reading.

Namespace:  Demo3D.Net
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
C#
Task<PacketReader> ReadAsync()

Return Value

Type: TaskPacketReader
A PacketReader that contains the data read.
Remarks
It's a mistake to call Read or ReadAsync in parallel in multiple threads. Although these methods are thread safe, the order in which each is processed is undetermined. (There is no guaranteed order, such as FIFO or LIFO for these methods to detect/return a packet.)
See Also