1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-05 18:01:12 +09:00
Pieter-Jan Briers f0e5bb4515 IPv6: Space Wizard Edition.
This PR fixes the IPv6 support *properly*. The two previous PRs, #123 and #126, both made a mess out of it:

PR #123 implemented IPv6 by breaking non-dualstack IPv4 support.
PR #126 fixed IPv4 support by breaking non-dualstack IPv6 support.

This change fixes the mess entirely. IPv4, IPv6 and IPv6-dual-stack are now all independently supported and work as expected.
Namely IPv4 can't receive IPv6, IPv6 can only receive IPv4 if NetPeerConfiguration.DualStack is set. You can still have an IPv6-only socket.

I'll leave some review comments on the PR for less-immediately obvious changes.
2020-02-15 00:22:38 +01:00
2015-02-02 02:19:26 +00:00
2015-08-22 14:52:07 +02:00
2018-02-22 17:22:20 +00:00

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.
Description
Lidgren Network Library
Readme MIT 11 MiB
Languages
C# 100%