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

209 Commits

Author SHA1 Message Date
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
lidgren
1fdcb5f773 Changed xml documentation output option in project file 2012-05-26 09:41:33 +00:00
lidgren
a5781b4688 Flushing delayed packets when shutting down NetPeer 2012-05-26 09:08:04 +00:00
lidgren
5859971a7e Expanded comment on TryGetValues thread safety in GetConnection 2012-05-26 08:53:54 +00:00
lidgren
0fadd32a74 Changed how ReadAllFields determines available write methods 2012-05-26 08:32:32 +00:00
lidgren
35a0831a83 BIGENDIAN fixes for 16 bit values 2012-05-26 08:12:55 +00:00
lidgren
e21c20bd2b Changed SendMessage() to use a List<> instead of IList<> to avoid enumerator allocation 2012-05-10 07:26:37 +00:00
lidgren
271675a8ea Re-added ReadTime() 2012-04-03 07:26:30 +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
8cbdd6e317 CLSCompliant(false) added to ReadInt32(out Int32) 2012-03-01 07:10:56 +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
e07f7c75c9 NetOutgoingMessage.Write(float) optimized to avoid memory allocation 2012-01-20 09:52:19 +00:00
lidgren
61ec7e3add Better NetSendResult when trying to send on an unconnected connection 2012-01-16 09:27:56 +00:00
lidgren
4cd624c42c ReadSingle(out float) and ReadInt32(out int) added 2012-01-14 10:12:13 +00:00
lidgren
47ef6f1055 All projects converted to .Net 4.0 and VS2010 2012-01-07 11:01:32 +00:00
lidgren
af3608c544 Extra try-catch added for socket.Shutdown() failing on mono 2011-12-19 10:20:11 +00:00
lidgren
3336e95586 Avoid throwing exception in SendToAll when no connections 2011-12-09 09:16:10 +00:00
lidgren
cef6a3adf6 micro optimization in NetServer.SendToAll() 2011-12-09 09:11:12 +00:00
lidgren
123c5d6c00 bool ReadXXX(out result) versions added for some read methods 2011-12-06 18:31:05 +00:00
lidgren
ba7cf8f381 SIO_UDP_CONNRESET now try-catched since not available in mono 2011-11-28 08:10:58 +00:00
lidgren
95850b205a Suppressed Connection Reset messages. Fixed Chat server sample. 2011-11-06 09:24:08 +00:00
lidgren
a64b5f2959 Added SendUnconnectedToSelf() 2011-11-02 09:47:22 +00:00
lidgren
e17b32011b Changed DestoreMessage() to ignore a missing Message object in RELEASE; added some debug messages to the DEBUG build of the same 2011-10-24 14:56:29 +00:00
lidgren
b474d1ac2d Fixed race condition bug with approval
Changed DestoreMessage call pattern; should effectively be the same tho
2011-10-24 14:38:36 +00:00
lidgren
b2380e895d Fix for ResolveAsync throwing host not found exception 2011-10-03 05:17:53 +00:00
lidgren
5fc175677f NetUtility.Resolve async version added (thanks eliseegw) 2011-10-01 10:54:25 +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
e37430a219 Fix for messages very close to MTU not being fragmented properly 2011-09-19 16:33:10 +00:00
lidgren
62d8c6826b Fixed potential MTU issue; added a bunch of asserts 2011-09-16 07:28:37 +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
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
768038d5e4 - Fixed bug with fragmentation leading to increased memory usage 2011-09-06 15:29:38 +00:00
lidgren
6a1654061e Fixed bug in WaitMessage() - when already queued message existed it would wait for next message to arrive anyway 2011-08-19 12:33:47 +00:00
lidgren
aa20b0893d CreateIncomingMessage(tp, text) optimized to allocate less memory 2011-07-20 08:39:41 +00:00
lidgren
39459f6833 throw explanatory exception if trying to register callback with no sycnhronizationcontext 2011-07-18 21:08:08 +00:00
lidgren
b099bb8703 Fixed issue with very large encrypted message 2011-06-28 06:47:20 +00:00
lidgren
2d4924878a Fixed faulty assert in ReadByte(numBits) 2011-06-22 05:15:44 +00:00