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

248 Commits

Author SHA1 Message Date
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
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
7555b6958e Use Dns.GetHostAddresses instead of Dns.GetHostEntry 2013-05-31 18:33:33 +00:00
lidgren
f32e40d048 Fixed AcceptIncomingConnections = false actualling having an effect 2013-05-07 07:37:27 +00:00
lidgren
c5ca1879a0 replaced regular critical section lock with ReaderWriterLockSlim 2013-05-01 13:31:23 +00:00
lidgren
772dceefcb GetNetworkInterface() now verified there's ipv4 addresses available 2013-04-08 07:40:26 +00:00
lidgren
900e280481 Fixed SendUnconnectedToSelf 2013-03-26 18:13:31 +00:00
lidgren
14f20ace0e FxCop issues fixed; dead code removed 2013-02-24 13:40:30 +00:00
lidgren
84f892c1f0 removed dead code 2013-02-24 12:30:29 +00:00
lidgren
c658d9c09e don't write m_messageType in ToString for unsent NetOutgoingMessage 2013-02-14 12:15:58 +00:00
lidgren
8ff63466d0 Removed dead code, thanks to fantix.king 2013-01-18 19:24:14 +00:00
lidgren
e685d2457c Patch by eliseegw to make resending more robust 2013-01-18 19:18:31 +00:00
lidgren
f914c772d1 WriteByte() fixed 2012-12-18 08:58:44 +00:00
lidgren
5798c84406 - Ugh, got halfcreated file in last checkin; reverted 2012-12-18 08:45:51 +00:00
lidgren
bf2987b168 Fixed m_connectionLookup was not cleared on shutdown 2012-12-18 08:30:08 +00:00
lidgren
44971f0afc Modified UPnP response handling 2012-11-15 08:29:31 +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
2cdb29a768 Some IOS and Android changes contributed by technomage 2012-11-05 12:38:36 +00:00
lidgren
ce2644cead - Handle NatIntroduction message even if connection already exists 2012-10-29 16:01:48 +00:00
lidgren
0875aff427 tiny changes 2012-10-27 10:15:33 +00:00
lidgren
97112179ae UPnP now also tests for WANPPPConnection; see issue #138 2012-10-25 08:22:10 +00:00
lidgren
2db09b002d - UPnP changes - now tries to parse any incoming message, regardless of port 2012-10-25 08:12:14 +00:00
lidgren
e1a66ae0cd Robustified and optimized GetBestChunkSize() 2012-10-24 13:06:46 +00:00
lidgren
1801432a28 MasterServer sample improved 2012-10-19 07:25:34 +00:00
lidgren
03b90d348e Minor tweaks 2012-09-25 07:16:59 +00:00
lidgren
47f8267e26 Added missing XML comments 2012-09-24 07:19:56 +00:00
lidgren
a28bb5439c - Fixed various number to avoid re-allocating netbuffer storage 2012-09-24 07:09:30 +00:00
lidgren
2e7761e113 UnregisterReceivedCallback added 2012-09-18 15:12:34 +00:00
lidgren
e7d276ec94 NetClient now checks for handshakes in progress when calling Connect 2012-09-18 06:49:21 +00:00
lidgren
fd224b88d8 Branching in RelativeSequenceNumber removed 2012-09-05 07:39:01 +00:00
lidgren
84003ba9db Fix for WriteByte outputting too many bits, unit test added 2012-08-29 11:47:46 +00:00
lidgren
05d2efd337 Linq namespace usage removed 2012-08-23 13:37:28 +00:00
lidgren
b4b01aa52d Fix for time issue 129; thanks to jujjyl 2012-08-23 12:55:12 +00:00
lidgren
29bd071d0d Samples fixed for namechange Endpoint -> EndPoint 2012-07-19 22:41:09 +00:00
lidgren
1ecf9fd8b8 Changed all Endpoint to EndPoint for consistency 2012-07-06 21:28:13 +00:00
lidgren
b49392182b Clarifications in code on new status enum ReceivedInitiation 2012-07-06 18:36:36 +00:00
lidgren
d11dcbe257 Invalid warning message about status fixed 2012-07-06 18:29:57 +00:00
lidgren
e0c3a34b91 Fixed GetMTU not to generate garbage 2012-07-02 07:09:47 +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