1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-05 18:01:12 +09:00

49 Commits

Author SHA1 Message Date
Gordon Alexander MacPherson
94c9d502bd fixed project not opening in visual studio 2017 2018-01-06 15:54:21 +00:00
Gordon MacPherson
ed0a3efe9f updated project files to vs2017 and forced net framework 4.6.2 2017-11-16 14:09:52 +00:00
RevoluPowered
9e5525711e disable socket.IOControl(SIO_UDP_CONNECT) on unix but not windows 2017-11-10 14:52:45 +00:00
Michael Lidgren
1414e34291 Added missing NetUtility.BitsToHoldUInt64 2015-11-25 00:15:39 +01:00
Sebastian Zander
754f33448e Added test that breaks when using PeekUInt64(int maxBits).
There's a bug in this function, as well as in ReadUInt64(int maxBits),
when trying to read more than 32 bits (and the value uses more than 32
bits).
2015-08-04 11:11:03 +02:00
Jamie Hankins
cc0220a9bf Remove Console.ReadKey() from the UnitTest program
This stops it from hanging on the Travis build
2015-02-02 02:06:07 +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
f476f523ac Added missing app.config file to UnitTests 2014-09-13 14:02:02 +00:00
lidgren
f2aa4b4ce2 Warnings and minor inconsistencies fixed 2014-08-25 07:34:56 +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
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
fbddaf8962 NetQueue.TryDequeue failure will now only throw in DEBUG
WaitMessage will now create a wait event object if needed
2014-05-21 07:18:08 +00:00
lidgren
f914c772d1 WriteByte() fixed 2012-12-18 08:58:44 +00:00
lidgren
f5c6652651 Removed NetBitWriterTests.cs from unittests project file 2012-10-01 12:46:44 +00:00
lidgren
84003ba9db Fix for WriteByte outputting too many bits, unit test added 2012-08-29 11:47:46 +00:00
lidgren
0a0e319f21 NetIncomingMessage and NetOutgoingMessage common parts unified in NetBuffer; which is now a base class for the former 2012-03-23 08:59:32 +00:00
lidgren
e07f7c75c9 NetOutgoingMessage.Write(float) optimized to avoid memory allocation 2012-01-20 09:52:19 +00:00
lidgren
47ef6f1055 All projects converted to .Net 4.0 and VS2010 2012-01-07 11:01:32 +00:00
lidgren
123c5d6c00 bool ReadXXX(out result) versions added for some read methods 2011-12-06 18:31:05 +00:00
lidgren
604ab334f5 Bug not detecting multiple sends of same message fixed 2011-05-29 15:31:39 +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
814cd1507d Various encryption algorithms added; thanks shawn andrew rose 2011-04-25 15:25:35 +00:00
lidgren
19000f8036 XML comments added to remove all warnings; Documentation.chm updated 2011-04-25 15:13:36 +00:00
lidgren
a4503d22e1 Net encryption generalized to support more algorithms 2011-04-16 22:37:15 +00:00
lidgren
c896b180fb Read/Write variable sized Int32/Int64 bug fixed; very large numbers were decoded incorrectly 2011-03-19 08:26:00 +00:00
lidgren
97a2b76856 Fixed shutdown iteration issue 2011-03-10 18:45:18 +00:00
lidgren
0238b5c5e7 SendToAll added to NetServer 2011-02-12 14:08:31 +00:00
lidgren
8dee1d3be9 SRP authentication base code added 2011-01-29 23:31:00 +00:00
lidgren
eb056bc9aa NetConnection.LocalHailMessage exposed. WriteVariableInt64 and ReadVariableInt64 added. 2010-12-28 13:13:00 +00:00
lidgren
41f96eefcf 3.5 updates 2010-10-19 18:00:05 +00:00
lidgren
609bc1afe2 major update; gen 3.5 2010-10-19 17:45:55 +00:00
lidgren
c485a2d02c NetBitVector enhanced 2010-09-24 18:26:01 +00:00
lidgren
c185b3b16f NetConnection.UnsentBytesCount added 2010-09-07 06:53:23 +00:00
lidgren
1cf64dc015 NetQueue TryDequeue signature change 2010-09-05 10:37:39 +00:00
lidgren
61436efa7b NetQueue fixes 2010-09-02 22:17:34 +00:00
lidgren
a5ab4ab485 ToHexString optimized 2010-08-08 07:38:45 +00:00
lidgren
bbeb7dfb2a NetServer.Disconnect added; Buffer.BlockCopy used in NetBitWriter 2010-07-26 07:39:02 +00:00
lidgren
11d33aa446 Reliability fix; first sequenced message was swallowed 2010-07-15 05:41:53 +00:00
lidgren
551dca6d0e NetIncomingMessage and NetOutgoingMessage now implements Stream as base class 2010-07-13 14:28:34 +00:00
lidgren
5d44e391cb More SRP work (still not working 100%) 2010-06-13 21:01:36 +00:00
lidgren
d1bdfe7b58 SRP work 2010-06-11 11:56:47 +00:00
lidgren
caf68daab7 NetIncomingMessage.Clone added
Attempt to handle connection reset correctly when sending
2010-06-09 06:12:06 +00:00
lidgren
38c4a7a446 Resend bug fixed, unit tests expanded, misc cleanup 2010-06-01 18:28:14 +00:00
lidgren
2b5967794e Bug in reliability fixed 2010-05-24 05:25:50 +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
421a4675c9 *AllFields now reads/writes members in alphabetical order 2010-05-09 08:36:39 +00:00
lidgren
25af67f958 NetConnection.Status added - reflects the "message consumed" status for consistency. Encryption work in progress. 2010-05-08 20:02:13 +00:00
lidgren
fbcd550a2a transferred from trunk/Generation3 of lidgren-network 2010-05-06 18:30:27 +00:00