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

61 Commits

Author SHA1 Message Date
lidgren
f32e40d048 Fixed AcceptIncomingConnections = false actualling having an effect 2013-05-07 07:37:27 +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
2db09b002d - UPnP changes - now tries to parse any incoming message, regardless of port 2012-10-25 08:12:14 +00:00
lidgren
2e7761e113 UnregisterReceivedCallback added 2012-09-18 15:12:34 +00:00
lidgren
b4b01aa52d Fix for time issue 129; thanks to jujjyl 2012-08-23 12:55:12 +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
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
a5781b4688 Flushing delayed packets when shutting down NetPeer 2012-05-26 09:08:04 +00:00
lidgren
af3608c544 Extra try-catch added for socket.Shutdown() failing on mono 2011-12-19 10:20:11 +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
60a6b28189 NetPeerConfiguration.AutoFlushSendQueue added. When set to false; application must call NetPeer.FlushSendQueue manually. 2011-09-12 09:34:50 +00:00
lidgren
39459f6833 throw explanatory exception if trying to register callback with no sycnhronizationcontext 2011-07-18 21:08:08 +00:00
lidgren
9554d33492 One more define to allow unity web player to run 2011-06-21 06:47:34 +00:00
lidgren
5234fb64c6 Added fix for discovery requests arriving when handshake in progress
Added sanity checks for handshake connections (in DEBUG)
2011-06-12 14:30:20 +00:00
lidgren
e10be613d6 MessageReceivedEvent fired upon shutdown 2011-06-09 18:46:20 +00:00
lidgren
c0a7281ecf Added XML comment 2011-05-18 06:39:39 +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
cd7ccd6bae Fixed host port switch detection 2011-04-28 06:55:58 +00:00
lidgren
713d91ac58 UPnP support added: get external ip, add forwarding rule and delete forwarding rule 2011-04-27 20:52:29 +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
bd58c6400d host port switch support for handshake begun 2011-04-25 21:38:23 +00:00
lidgren
5b4a4a7fc5 Statistics fixed and USE_RELEASE_STATISTICS defines added 2011-03-26 08:18:21 +00:00
lidgren
97a2b76856 Fixed shutdown iteration issue 2011-03-10 18:45:18 +00:00
lidgren
cb887dd4b5 try-catch added when trying to get MAC address 2010-12-24 08:04:23 +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
47579ba32f Removed bad check 2010-11-03 13:15:45 +00:00
lidgren
dd192b1486 Capped max connection heartbeats per second 2010-11-03 13:00:05 +00:00
lidgren
c29270a5cf Tag added to NetPeer 2010-11-03 11:27:00 +00:00
lidgren
6a30a00172 Added some optimizations 2010-11-03 10:38:13 +00:00
lidgren
350a603e84 Removed attempt to disconnect offending connection on ConnectionReset 2010-10-27 19:53:10 +00:00
lidgren
609bc1afe2 major update; gen 3.5 2010-10-19 17:45:55 +00:00
lidgren
4a7cffce02 Added code to prevent multiple connection approval messages from being spawned and more sending serverfull when connections + pending connections exceed maxconnections 2010-10-14 20:28:31 +00:00
lidgren
c1e13711e7 Fixed again so it even works in runtime ;-) 2010-10-14 20:19:19 +00:00
lidgren
143f2439d9 fixed uncommented IS_MAC_AVAILABLE compile error 2010-10-14 20:15:27 +00:00
lidgren
1cf64dc015 NetQueue TryDequeue signature change 2010-09-05 10:37:39 +00:00
lidgren
61436efa7b NetQueue fixes 2010-09-02 22:17:34 +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
4fef27d175 Oops, removed debug code 2010-08-10 11:23:56 +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
8ee8ba4857 Added IS_MAC_AVAILABLE define for unity users 2010-07-17 07:51:50 +00:00
lidgren
14d3f3b390 Major refactoring of sending messages to multiple recipients 2010-06-21 19:22:21 +00:00
lidgren
3bd903aeb8 Wrong appidentifier now sends immediate Disconnect
BarebonesClient/Server added
2010-06-17 16:47:23 +00:00
lidgren
a12fc42732 Fix for fragmented messages and ReliableOrdered 2010-06-15 22:37:30 +00:00