Skip to content

LiteNetLib 1.2.0

Latest
Compare
Choose a tag to compare
@RevenantX RevenantX released this 10 Jan 06:14
· 33 commits to master since this release
  • Derive NetPeer from IPEndPoint (so to get EndPoint of peer you just use peer instead of peer.RemoteEndPoint)
  • Add .NET8+ garbage less Socket.Send/Socket.Receive
  • Add .NET5+ Member Trimming Annotations
  • Add NetDataReader.Get(out ...) methods
  • Add NetManager.SendToAll with ReadOnlySpan
  • Add NetDataReader.GetRemainingBytesSpan()
  • Add optional NetManager.DontRoute option for sockets (for specific cases)
  • Sort Network Interfaces to prefer Wifi over Cellular (local ip)
  • Process shutdown error (for specific cases)
  • Fix AllowPeerAddressChange works only if you implement IPeerAddressChangedListener (now it works without implementing)
  • Better protections for broken data (fixes some critical cases that can "crash" server)
  • Overall optimizations

For installation in typical .NET project use nuget package
For Unity use sources zip and copy directory LiteNetLib to your project