Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write the entire packet in SendData() synchronously.
This doesn't seem to regress performance and feels safer since we're now reusing the underlying byte array. We're also saving on not allocating the Overlapped and NativeOverlapped data structures and various other async overhead.
- Loading branch information
1 parent
6eb445d
commit dc5f1fb
Showing
1 changed file
with
0 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters