-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- BandwidthPriorities enum to not have a fake value for the length. Updated associated logic to use the maximum enum value + 1. - Fixed logic that converts NetSendFlags to BandwidthPriorities. It wasn't ignoring the Reiable/Droppable/Urgent flags properly. Also, changed the logic so that it doesn't run for Ack and Reliable packets since those were overwriting the value anyway. - Changed the 08 packets to be sent reliably. This is different than what ASSS does. I'm not sure if this is right and will need to investigate further. - DumpPk method to output the text representation in its own column properly for lines that have < 16 bytes. - Added an overload for SendToOne which takes a Span. Found that Socket.SendTo does not allow passing a Span yet, but it looks like Microsoft may add it eventually (dotnet/runtime#938). If they do, then it might be possible to switched everything from byte[] and ArraySegment<byte> to Span<byte>. Right now, the extra copy to a byte[] defeats the purpose.
- Loading branch information
1 parent
9243953
commit 86a2b42
Showing
5 changed files
with
318 additions
and
108 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
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
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
Oops, something went wrong.