1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 10:21:09 +09:00
Commit Graph

65 Commits

Author SHA1 Message Date
Michael Lidgren
dff2f0131f Receiving an ack for a reliable message sent less than two seconds ago will postpone timeout 2015-05-20 09:14:58 +02:00
Michael Lidgren
2d060cced8 Added configuration setting to suppress acks for unreliable unordered messages 2015-04-13 13:25:30 +02:00
Michael Lidgren
fa8b1e986d First iteration improved multiplatform support 2015-03-24 13:26:55 +01:00
Michael Lidgren
b3fffb52e5 changed remaining float representations of time to doubles 2015-02-06 18:57:42 +01:00
Michael Lidgren
5879fb641e Rev397-400 on google code; fixes to recycling and minor tweak to heartbeat calling when a disconnection occurs 2015-01-25 16:05:49 +01:00
Michael Lidgren
d57f7045fe m_needFlushSendQueue added to prevent traversing sender channels each heartbeat 2015-01-20 17:39:03 +01:00
lidgren
999e113d65 Changed internal representation of time in a bunch of places from float to double 2015-01-17 16:35:01 +00:00
lidgren
9f6d3e79fd Delaying local Disconnect until next heartbeat 2014-11-20 10:14:59 +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
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
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
64290a229c Fix for executing disconnects due to timeout 2014-06-17 20:27:15 +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
b6d2111380 Release build fixed for NetPeerSettingsWindow
ManyClients project excluded missing app.config file
Reduced number of calls to NetTime.Now when receiving multiple messages
Moved magic numbers to constants in NetConnection
2012-11-05 13:39:57 +00:00
lidgren
ce2644cead - Handle NatIntroduction message even if connection already exists 2012-10-29 16:01:48 +00:00
lidgren
1ecf9fd8b8 Changed all Endpoint to EndPoint for consistency 2012-07-06 21:28:13 +00:00
lidgren
7be71a7873 Made CreateSenderChannel() reentrant 2012-02-09 14:56:42 +00:00
lidgren
66f4365103 Now queueing incoming acks until NetConnection.Heartbeat, where a resend is appropriately handled 2012-02-06 12:47:01 +00:00
lidgren
61ec7e3add Better NetSendResult when trying to send on an unconnected connection 2012-01-16 09:27:56 +00:00
lidgren
c1d604bde4 Documentation updated; NetSendResult fixed when using AutoFlushSendQueue false 2011-09-12 09:49:33 +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
b575f72186 Receiving (correctly) ConnectResponse from the correct address but wrong port will now mutate the connection to accept it; apparently some routers change outgoing port 2011-04-27 17:42:32 +00:00
lidgren
eb056bc9aa NetConnection.LocalHailMessage exposed. WriteVariableInt64 and ReadVariableInt64 added. 2010-12-28 13:13: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
55cdf75c5f Exposed the Socket in NetPeer 2010-12-09 21:51:03 +00:00
lidgren
936e329b40 File stream sample added 2010-11-14 23:05:32 +00:00
lidgren
e8e7268421 Channel iteration order reversed 2010-11-10 22:47:48 +00:00
lidgren
9c8f523d39 Disconnect issue fixed 2010-11-03 21:14:44 +00:00
lidgren
6a30a00172 Added some optimizations 2010-11-03 10:38:13 +00:00
lidgren
0405ef0cdc Tag re-added to NetConnection 2010-10-27 19:35:41 +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
aa72849830 Lots of XML comments added; documentation rebuilt 2010-10-19 19:04:51 +00:00
lidgren
609bc1afe2 major update; gen 3.5 2010-10-19 17:45:55 +00:00
lidgren
fd7d99b9c4 Added NetConnection.CreateMessage method in addition to NetPeer.CreateMessage 2010-09-13 13:52:21 +00:00
lidgren
e38bdfeab6 Changed return value of SendMessage to bool for consistency
Added a number of verbose debug messages (to be removed later)
2010-09-12 20:00:12 +00:00
lidgren
c185b3b16f NetConnection.UnsentBytesCount added 2010-09-07 06:53:23 +00:00
lidgren
fa3bd2646f Tweaks + debug messages 2010-09-07 06:35:09 +00:00
lidgren
1cf64dc015 NetQueue TryDequeue signature change 2010-09-05 10:37:39 +00:00
lidgren
bdfdbb3601 Debug messages added 2010-08-29 11:04:45 +00:00
lidgren
d4c4f7610c throttling bug fixed 2010-08-19 08:05:25 +00:00
lidgren
38bb13b3a7 initializing network (including binding to socket) moved out from network thread, enabling catching of exceptions
ConnectionReset on reading handled properly (by disconnecting) when only one connection
readonly added to various members
2010-08-11 18:34:15 +00:00
lidgren
04b7647bfb Logging error instead of throwing exception on network thread in RELEASE
Removed superflous break
Added new keyword to ReadByte() - not optimal, but it will have to do for now
2010-08-10 11:21:56 +00:00
lidgren
7bcf2f6e0d m_visibleStatus made internal 2010-07-26 10:33:06 +00:00
lidgren
494cc7acee Various ArgumentNullExceptions added 2010-07-26 07:48:10 +00:00
lidgren
11d33aa446 Reliability fix; first sequenced message was swallowed 2010-07-15 05:41:53 +00:00