Michael Lidgren
44bc4ff06e
Recycling problems hopefully fully fixed now. Library message now also recycled.
2015-02-07 17:25:54 +01:00
Michael Lidgren
07b69365f2
Masterserver sample fixed
2015-02-02 10:13:31 +01:00
Michael Lidgren
a246176a1e
XNA sample zipped to enable autobuilding; many sample and unconnected sample now don't reference missing file
2015-02-02 10:09:15 +01:00
Michael Lidgren
4723d1af66
Fixed EncryptionSample referencing missing files
2015-02-02 10:04:37 +01:00
Michael Lidgren
4b7b53b36d
added mutex for access to m_handshake everywhere except count requests
2015-01-21 08:52:28 +01:00
lidgren
c15e4cb2c8
Message/storage recycling capped to NetConfiguration.RecycledCacheMaxCount number of arrays/messages
2015-01-11 17:56:06 +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
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
e206ba210e
Added code to rebind socket after a NetConnected socket error; thanks Rhee
2014-10-08 12:08:43 +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
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
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
4dffa9dc9b
Added recycling to a few samples that lacked it
2013-05-08 13:26:17 +00:00
lidgren
4b872d3454
Chat sample now outputs remote hail
2013-05-07 12:32:52 +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
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
a28bb5439c
- Fixed various number to avoid re-allocating netbuffer storage
2012-09-24 07:09:30 +00:00
lidgren
af4f77a8a5
MasterServer sample fixed
2012-09-13 07:10:52 +00:00
lidgren
29bd071d0d
Samples fixed for namechange Endpoint -> EndPoint
2012-07-19 22:41:09 +00:00
lidgren
f09e384fdb
Made SamplesCommon settings dialog actually useful
2012-07-06 22:29:29 +00:00
lidgren
1ecf9fd8b8
Changed all Endpoint to EndPoint for consistency
2012-07-06 21:28:13 +00:00
lidgren
d11dcbe257
Invalid warning message about status fixed
2012-07-06 18:29:57 +00:00
lidgren
20eeb48a88
Lots of fixes for sample solutions
2012-05-26 09:30:09 +00:00
lidgren
ae70354832
fixed Chat sample project dependencies
2012-05-26 08:11:51 +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
4d6f556be3
Forgot to submit SamplesCommon project file in previous VS2010 upgrade
2012-01-25 13:45:10 +00:00
lidgren
47ef6f1055
All projects converted to .Net 4.0 and VS2010
2012-01-07 11:01:32 +00:00
lidgren
95850b205a
Suppressed Connection Reset messages. Fixed Chat server sample.
2011-11-06 09:24:08 +00:00
lidgren
36bf73bfbe
Improved performance (very slightly) when batch recycling incoming messages
2011-09-25 10:38:57 +00:00
lidgren
9e3104f5da
Added fix for delayed Approval
2011-09-19 17:31:23 +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
b4fd011e5b
- ReadMessages() added to batch read messages. Image sample changed to use the new batch method.
2011-09-09 08:11:38 +00:00
lidgren
ff63163632
Invalid reference patched
2011-07-21 11:27:01 +00:00
lidgren
255628e641
UPnP port forwarding improved to tolerate up to 1000 ms of router response time; UPnP added to DurableSample
2011-06-07 06:13:34 +00:00
lidgren
c56e190cba
RegisterReceivedCallback added to get a callback using SynchronizationContext when a message arrives
2011-05-18 06:17:15 +00:00
lidgren
a4503d22e1
Net encryption generalized to support more algorithms
2011-04-16 22:37:15 +00:00
lidgren
226bb301ce
Bug in fragmentation fixed
2011-02-26 09:26:35 +00:00
lidgren
d3085ec38a
Unconnected sample added
2011-01-29 14:01:37 +00:00
lidgren
57525d980c
Tweaked/fixed some samples
2010-12-22 22:10:08 +00:00
lidgren
772d80835b
Crude Path MTU detection added
2010-12-12 19:07:55 +00:00
lidgren
be902b8010
Initializing ping to random start to make network stream more unpredictable
2010-12-09 07:56:34 +00:00
lidgren
3103892362
DurableSample altered to use DiscoverKnownPeer
2010-11-21 20:53:32 +00:00
lidgren
936e329b40
File stream sample added
2010-11-14 23:05:32 +00:00
lidgren
e1d1913d15
SpeedSample added
2010-11-03 13:18:23 +00:00
lidgren
dd192b1486
Capped max connection heartbeats per second
2010-11-03 13:00:05 +00:00