mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-05 18:01:12 +09:00
e77fa444a1ba2ba87d5597b647dc42405ab1da76
1. Added a reference to Microsoft.NETFramework.ReferenceAssemblies so that the project can be built hassle-free on .NET Core. 2. Use the AssemblyInfo.cs from the existing code and disable automatic AssemblyInfo generation (to avoid clash). 3. Dropped target for net40. The regular Framework project file didn't support it either and it doesn't build due to a missing API (MapToIPv6).
Fixed an issue #132 (Incorrect network messages/malformed packets could easily overwhelm the server). NetPeer.Heartbeat() method will no longer prematurely return from the method in case of encountering an incorrect packet.
Lidgren.Network 
Lidgren.Network is a networking library for .NET framework, which uses a single UDP socket to deliver a simple API for connecting a client to a server, reading and sending messages.
This has been updated for use with Unity3D, feel free to send PRs for other bugs fixes. To use this in Unity3D just enable the experimental .NET framework. you can do this in Edit -> Project Settings -> Player -> Other Settings -> Api Compatibility Level -> .NET 4.6
Platforms supported:
- Linux
- Mac
- OSX
Platforms/Toolchains which need testing:
- Android
- iPhone
- Xamarin
Tested in:
- Mono (alpha and beta)
- .NET 4.6
- Unity 2017.1 -> 2018.1.
Future Roadmap:
- Update to latest .NET 4.6
- Investigate officially supporting .NET Core.
- Improve test suite so that tests are run on all platforms we support, for each release.
Languages
C#
100%