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

221 Commits

Author SHA1 Message Date
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
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