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
b9bfbb0be5
Fixed problem with setting correct local address when we change DualStack property. Do not use any IPv6 features by default.
2019-06-14 22:39:29 +03:00
CallumDev
85ad100f89
Can configure to be dual-mode, or plain IPv4/6
2019-06-10 02:28:38 +09:30
CallumDev
1a2301ddbc
Implement IPv6 Dual Mode
2019-05-03 03:20:58 +09:30
Michael Lidgren
0b8caecfce
SuppressUnreliableUnorderedAcks now default to false (old behaviour)
2015-04-13 16:44:40 +02:00
Michael Lidgren
2d060cced8
Added configuration setting to suppress acks for unreliable unordered messages
2015-04-13 13:25:30 +02:00
lidgren
c15e4cb2c8
Message/storage recycling capped to NetConfiguration.RecycledCacheMaxCount number of arrays/messages
2015-01-11 17:56:06 +00: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
54ff6f1c37
Changed target framework to 4.5.1 for all projects
...
Changed some minor things after running .net portability analyzer
Fixed a bunch of warnings (mostly CLS compliance)
2014-08-10 09:27:36 +00:00
lidgren
4bfb24da96
Added some UNITY defines; fix by aeronaut84. Untested.
2014-08-02 18:01:30 +00:00
lidgren
d2ae3cf41d
BREAKING CHANGE: NatIntroductionSuccess is now DISABLED by default; you must enable it using EnableMessageType
...
Added GarbageThrowerSample - a small library sample that sends random and semi-random data to detect problems
Made lots of changes that caused exceptions when malformed data was received
2014-07-31 14:55:50 +00:00
lidgren
04593ef00f
Added NetPeer.ThrowOrLog
...
Changed a bunch of exceptions for consistency and safety
Enabled AutoExpandMTU for SpeedSample
2014-07-31 13:16:09 +00:00
lidgren
47f8267e26
Added missing XML comments
2012-09-24 07:19:56 +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
62d8c6826b
Fixed potential MTU issue; added a bunch of asserts
2011-09-16 07:28:37 +00:00
lidgren
60a6b28189
NetPeerConfiguration.AutoFlushSendQueue added. When set to false; application must call NetPeer.FlushSendQueue manually.
2011-09-12 09:34:50 +00:00
lidgren
bccfaa77ef
Fixed maximum handshake attempts one-off error
...
Fixed better disconnect messages when not yet fully connected (aborting connection attempt)
2011-05-25 13:21:56 +00:00
lidgren
713d91ac58
UPnP support added: get external ip, add forwarding rule and delete forwarding rule
2011-04-27 20:52:29 +00:00
lidgren
19000f8036
XML comments added to remove all warnings; Documentation.chm updated
2011-04-25 15:13:36 +00:00
lidgren
8dee1d3be9
SRP authentication base code added
2011-01-29 23:31:00 +00:00
lidgren
b83ec10d8d
Handshakes are now resent if lost. Documentation updated.
2010-12-25 09:51:49 +00:00
lidgren
43b40f8a10
AutoExpandMTU disabled per default; minor tweaks to resends
2010-12-22 11:56:10 +00:00
lidgren
330c5cf83e
ConnectionLatencyUpdated message type added; WriteTime() ReadTime() added
2010-12-20 10:35:51 +00:00
lidgren
772d80835b
Crude Path MTU detection added
2010-12-12 19:07:55 +00:00
lidgren
6a30a00172
Added some optimizations
2010-11-03 10:38:13 +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
fa3bd2646f
Tweaks + debug messages
2010-09-07 06:35:09 +00:00
lidgren
62f4004938
Fixed VerifyAndLock
2010-08-19 09:43:23 +00:00
lidgren
482c721a93
Throttling config fixed
2010-08-19 07:10:25 +00:00
lidgren
ffe86262c6
NetOutgoingMessage.Write(string) now preallocates the correct amount of memory
...
NetPeer.MessageAvailable added
2010-08-07 07:46:06 +00:00
lidgren
51a4bfa5ea
KeepAliveDelay removed; ping frequency doubled instead if no activity in 1.5 x ping frequency
2010-06-24 11:23:36 +00:00
lidgren
14d3f3b390
Major refactoring of sending messages to multiple recipients
2010-06-21 19:22:21 +00:00
lidgren
10ae62c4cd
NetPeerConfiguration.UseCoalescing added
2010-06-09 11:39:52 +00:00
lidgren
caf68daab7
NetIncomingMessage.Clone added
...
Attempt to handle connection reset correctly when sending
2010-06-09 06:12:06 +00:00
lidgren
e63c52bd7d
XTEA fixed; Message encryption working
2010-05-23 10:48:58 +00:00
lidgren
9577d4b4a6
Missing project added; various code cleanups
2010-05-14 17:12:26 +00:00
lidgren
0810dfc1c5
Extended comment
2010-05-09 09:26:15 +00:00
lidgren
fbcd550a2a
transferred from trunk/Generation3 of lidgren-network
2010-05-06 18:30:27 +00:00