LiteNetLib 2.0
What's Changed
-
Set C# language version to 8 and minimal .net version to netstandard2.1
-
Add simplified and faster
LiteNetManagerwithLiteNetPeerwhich has 1reliable-orderedchannel, 1reliable-unordered, 1sequencedchannel (andunreliablechannel) which is enough for many cases.ReliableSequencedchannel is same asreliable-orderedinLiteNetPeer(where oldNetManagercan have more than 1 channel perDeliveryMethodas before and fully supportReliableSequencedchannels for very specific use-cases) -
Ntp requests now only supported in full
NetManager -
Merge additional listener interfaces into INetEventListener with default empty implementation. Merged methods:
OnMessageDeliveredOnNtpResponseOnPeerAddressChanged
-
Add reliable packet merging which drastically increase speed of
ReliableOrderedandReliableUnorderedchannels when sending many small packets -
Fix .net8 receive bug #552
-
Add Configurable Resend packet delay for reliable packets (#567)
-
Remove not threadsafe
ConnectedPeerList. AddGetConnectedPeersinstead. Fix #584 -
Increment packet loss in reliable channel only when there is pending packets. Fix #564
-
Optimizations and some additional protections
-
Simplify code using Spans and remove old #ifdefs for older .net versions
Full Changelog: https://github.com/RevenantX/LiteNetLib/compare/1.3.5...2.0.0