1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-14 22:26:29 +09:00
Commit Graph

391 Commits

Author SHA1 Message Date
lidgren
984e70fd52 connection statistics bytes and packet counters changed from 32 to 64 bit long integers 2014-12-24 14:34:54 +00:00
lidgren
e3d3f1ec1e Removed dead code 2014-12-03 00:02:06 +00:00
lidgren
9f6d3e79fd Delaying local Disconnect until next heartbeat 2014-11-20 10:14:59 +00:00
lidgren
740cc2ec1b Recycle outgoing ping and mtu messages 2014-11-05 09:20:26 +00:00
lidgren
6533e272e3 Emit debug message for punches sent as part of Nat introduction 2014-11-04 09:04:38 +00:00
lidgren
543d677411 Fix for masterserver sample enabling NatIntroductionSuccess on server. Also updated framework version dependency. 2014-11-04 08:24:15 +00:00
lidgren
fc9e72e0de updated garbagethrowersample 2014-11-04 08:06:40 +00:00
lidgren
601666d9fb Fix to rebind same port as previously bound 2014-10-11 08:25:21 +00:00
lidgren
869ccb7bcb Added missing file NetCryptoProviderBase.cs 2014-10-11 08:22:49 +00:00
lidgren
2b9135b312 Don't try to parse packets identified as UPnP responses even when UPnP response parsing fails 2014-10-10 15:55:55 +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
7822a14526 Added LibrarySamples/EncryptionSample 2014-10-10 08:19:14 +00:00
lidgren
e9b6434831 Removed dead code (SenderChannelBase.cs) 2014-10-10 08:05:30 +00:00
lidgren
d38143cca7 Encryption fixed 2014-10-10 07:35:17 +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
f476f523ac Added missing app.config file to UnitTests 2014-09-13 14:02:02 +00:00
lidgren
a1abb3fa53 Fix for first unreliable sequenced message automatically being dropped 2014-09-06 09:23:45 +00:00
lidgren
49e54f3d6a Argument null check in Recycle(byte[]) 2014-08-29 18:51:55 +00:00
lidgren
7440f6da3c XML comments provided for random classes to stomp out last warnings 2014-08-25 07:42:43 +00:00
lidgren
f2aa4b4ce2 Warnings and minor inconsistencies fixed 2014-08-25 07:34:56 +00:00
lidgren
eb9dbdda40 Warnings fixed 2014-08-25 06:51:24 +00:00
lidgren
82fcede26c Fixed compile error in NetRandomSeed for non-full .net implementations 2014-08-13 09:18:42 +00:00
lidgren
009c947f94 Unity defines for read/write reflection 2014-08-13 06:50:12 +00:00
lidgren
715746eed3 Removed unnecessary allocation 2014-08-12 20:44:39 +00:00
lidgren
c2f8346ca3 Removed superflous call to EnsureBufferSize 2014-08-11 05:38:22 +00:00
lidgren
092bd4d536 Fix for possible race condition resulting in duplicate message recycling
Fix for DoS vulnerability with incoming acks
2014-08-10 18:46:26 +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
5f5cd5ecf6 NetRandom updated; four implementations provided: Multiply with carry, XorShift, Mersenne Twister and RNGCryptoServiceProvider based 2014-08-07 22:53:24 +00:00
lidgren
fd3893afcb Replaced old xor shift random code with Mersenne Twister and updated the way the seed is generated 2014-08-04 22:48:53 +00:00
lidgren
56ddf1efed Null check for setter on ReadAllProperties 2014-08-03 14:26:14 +00:00
lidgren
4bfb24da96 Added some UNITY defines; fix by aeronaut84. Untested. 2014-08-02 18:01:30 +00:00
lidgren
57eba64f6f Premature checkin problem fixed 2014-07-31 19:03:55 +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
85a3b28bbf Slight modifications to default resend values
Don't respond to ExpandMTUSuccess if AutoExpandMTU is disabled
Locking handshakes collection in Deny() for consistency
2014-07-31 12:20:53 +00:00
lidgren
2e9cc2bff0 Added more debug info to ImageServer 2014-07-01 22:11:19 +00:00
lidgren
3b9436b217 Updated ImageSample, removed dead code and added debug info at end 2014-07-01 20:50:56 +00:00
lidgren
64290a229c Fix for executing disconnects due to timeout 2014-06-17 20:27:15 +00:00
lidgren
1de702e5ff Fix for unreliable sequenced channels. If you sent too many messages rapidly that get dropped along the wire messages would stop being enqueued. 2014-05-31 17:05:42 +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
865a7600f2 Handle ConnectResponse despite connection being in place; to handle dropped handshake messages 2014-02-22 09:52:40 +00:00
lidgren
ffc5239b4c Fixed duplicate detection for unreliable sequenced data; thanks deadpolygon for fix 2014-02-07 08:18:02 +00:00
lidgren
d105b39c95 Added WriteAt() methods and fixed unnecessarily large allocation 2014-01-25 17:51:27 +00:00
lidgren
28ca421b63 Added option to specify synchronizationcontext when registering callback 2014-01-22 13:59:39 +00:00
lidgren
aa2ce92148 ReadAllFields and ReadAllProperties now throws ArgumentNullException 2014-01-13 08:06:37 +00:00
lidgren
faebe22254 Added NetBuffer.WriteAt() 2014-01-13 08:02:34 +00:00
lidgren@gmail.com
e844bb1918 Edited wiki page ConnectionApproval through web user interface. 2013-12-21 09:23:22 +00:00
lidgren@gmail.com
db88563a33 Edited wiki page ConnectionApproval through web user interface. 2013-12-21 09:23:10 +00:00
lidgren@gmail.com
32cd5cd553 Created wiki page through web user interface. 2013-12-21 09:21:50 +00:00
lidgren@gmail.com
bbb6761d46 Edited wiki page Donate through web user interface. 2013-11-08 08:29:43 +00:00