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
Badartefact
37cd6ac2c3
Fixed null ref exception. Fixed problem with wrong ip address.
2019-06-14 12:13:14 +03:00
CallumDev
1a2301ddbc
Implement IPv6 Dual Mode
2019-05-03 03:20:58 +09:30
Michael Lidgren
1414e34291
Added missing NetUtility.BitsToHoldUInt64
2015-11-25 00:15:39 +01:00
Michael Lidgren
1c1fc902f3
misc fixes
2015-09-27 10:51:53 +02:00
Marius Ungureanu
d8ff2c9d31
Fix possible NullArgumentException throw by using a null return.
2015-09-05 10:49:25 +03:00
Michael Lidgren
86a695cf2b
fixed performance snafu looking up broadcast address every packet send
2015-04-13 11:24:41 +02:00
Michael Lidgren
fa8b1e986d
First iteration improved multiplatform support
2015-03-24 13:26:55 +01:00
lidgren
0d2955637d
Added NetConnection.CanSendImmediately() to determine if the sliding window is full
...
Recycle outgoing dropped messages
Encryption using CryptoProviders refactored
Added NetUnreliableSizeBehaviour to configure behaviour for unreliable messages above MTU
Debug stats show number of received fragments
2014-10-10 15:25:54 +00:00
lidgren
e206ba210e
Added code to rebind socket after a NetConnected socket error; thanks Rhee
2014-10-08 12:08:43 +00:00
lidgren
f2aa4b4ce2
Warnings and minor inconsistencies fixed
2014-08-25 07:34:56 +00:00
lidgren
4bfb24da96
Added some UNITY defines; fix by aeronaut84. Untested.
2014-08-02 18:01:30 +00:00
lidgren
7555b6958e
Use Dns.GetHostAddresses instead of Dns.GetHostEntry
2013-05-31 18:33:33 +00:00
lidgren
772dceefcb
GetNetworkInterface() now verified there's ipv4 addresses available
2013-04-08 07:40:26 +00:00
lidgren
0875aff427
tiny changes
2012-10-27 10:15:33 +00:00
lidgren
47f8267e26
Added missing XML comments
2012-09-24 07:19:56 +00:00
lidgren
fd224b88d8
Branching in RelativeSequenceNumber removed
2012-09-05 07:39:01 +00:00
lidgren
05d2efd337
Linq namespace usage removed
2012-08-23 13:37:28 +00:00
lidgren
1ecf9fd8b8
Changed all Endpoint to EndPoint for consistency
2012-07-06 21:28:13 +00:00
lidgren
fbb6d9ed51
- Patch from MonoGame; makes the BroadcastAddress configurable and changes text encoding from ASCII to UTF8, required for Android support
2012-06-08 07:35:02 +00:00
lidgren
b2380e895d
Fix for ResolveAsync throwing host not found exception
2011-10-03 05:17:53 +00:00
lidgren
5fc175677f
NetUtility.Resolve async version added (thanks eliseegw)
2011-10-01 10:54:25 +00:00
lidgren
e6d1338ca8
including GetNetworkInterface in IS_FULL_NET_AVAILABLE define
2011-06-21 09:12:19 +00:00
lidgren
9554d33492
One more define to allow unity web player to run
2011-06-21 06:47:34 +00:00
lidgren
19000f8036
XML comments added to remove all warnings; Documentation.chm updated
2011-04-25 15:13:36 +00:00
lidgren
936e329b40
File stream sample added
2010-11-14 23:05:32 +00:00
lidgren
8029d725d1
Lots of xml comments added. Documentation updated.
...
Removed extension methods to be able to compile for .net framework 2.0
2010-10-20 20:03:39 +00:00
lidgren
609bc1afe2
major update; gen 3.5
2010-10-19 17:45:55 +00:00
lidgren
c185b3b16f
NetConnection.UnsentBytesCount added
2010-09-07 06:53:23 +00:00
lidgren
4722cb820c
NetUtility.Resolve cleaned up
2010-09-07 06:06:39 +00:00
lidgren
a5ab4ab485
ToHexString optimized
2010-08-08 07:38:45 +00:00
lidgren
6afb80ab12
masterserver sample work
2010-05-11 20:42:58 +00:00
lidgren
fbcd550a2a
transferred from trunk/Generation3 of lidgren-network
2010-05-06 18:30:27 +00:00