Open
Description
For most reads, the desired length is known (4 bytes for packet header, or len bytes for packet content).
Consider using ReadAtLeast(Async)
on newer frameworks to specify the desired amount to read. Note that this would need to be simulated in SocketByteHandler
since Socket
doesn't have an AtLeast
API.
Activity