Frank Versnel
27b3d8e386
Added improved NAT punch.
...
Clients that request an introduction now first request a confirmation from
the server to make sure unconnected messages can be sent in both
directions before attempting to make a connection. Similarly the server
automatically sends a confirmation to the client to reduce the possiblity
that either one of the endpoints has issues with sending messages to the
other.
2016-02-15 16:58:06 +01:00
Michael Lidgren
c8e2b011e0
Unnecessary code removed
2016-02-05 11:44:46 +01:00
lidgren
f58745c99d
Merge pull request #46 from hide1202/master
...
Removed goto statement in NetPeer.Internal.
2016-02-05 11:33:32 +01:00
lidgren
d6fd9e96bf
Merge pull request #59 from forestrf/master
...
WriteAt method and changes to work with Unity3D
2016-02-05 11:30:51 +01:00
Andrés Leone
22369d6fa9
Merge branch 'master' of https://github.com/lidgren/lidgren-network-gen3
2015-12-19 12:46:20 +01:00
lidgren
8c7b5fb775
Merge pull request #55 from AgentFire/patch-4
...
Added a 64-bit version of ReadRangedInteger.
2015-12-18 20:49:53 +01:00
Andrés Leone
208f129e3f
Unity Support. Just compile with __CONSTRAINED__ and UNITY keyworkds and add a reference to UnityEngine.dll
2015-12-13 03:42:39 +01:00
Andrés Leone
6dac4d7457
Added byte to WriteAt
2015-12-13 03:10:25 +01:00
lidgren
364f9bd4cb
Merge pull request #57 from forestrf/master
...
Fix Now messages sent from a server without clients are recycled
2015-12-10 08:58:20 +01:00
Andrés Leone
8edbf7c424
Fix Now messages sent from a server without clients are recycled
2015-12-10 03:03:57 +01:00
Michael Lidgren
1414e34291
Added missing NetUtility.BitsToHoldUInt64
2015-11-25 00:15:39 +01:00
lidgren
937d023c39
Merge pull request #54 from AgentFire/patch-3
...
Added Int-64 version of WriteRangedInteger
2015-11-23 09:13:22 +01:00
AgentFire
13963ec875
Added a 64-bit version of ReadRangedInteger.
...
`public long ReadRangedInteger(long min, long max)` is now available for reads of LONG values.
2015-11-21 13:41:17 +03:00
AgentFire
7664490fcf
Added Int-64 version of WriteRangedInteger
...
`WriteRangedInteger(long min, long max, long value)` is now available for ranged writings of Int-64 values.
2015-11-21 13:35:55 +03:00
lidgren
b2ab9b66b8
Merge pull request #49 from AgentFire/patch-2
...
Update NetPeer.MessagePools.cs
2015-10-26 09:24:06 +01:00
AgentFire
dbf6331577
Update NetPeer.MessagePools.cs
...
Added a null check. Had been experiencing exception throws by the internal network thread due to null-reference in this method.
2015-10-24 13:35:17 +03:00
lidgren
7e69fb2a63
Merge pull request #48 from AgentFire/patch-2
...
Update NetPeer.cs
2015-10-05 16:09:14 +02:00
AgentFire
f9053998cd
Update NetPeer.cs
...
Fixed an issue in the `WaitMessage(int)` when `MessageReceivedEvent` is signaled, yet `ReadMessage()` returns null.
2015-10-05 16:33:46 +03:00
lidgren
af0b32e93d
Merge pull request #41 from Therzok/patch-1
...
Use UTF8 instead of ASCII decoding for heartbeats
2015-10-05 07:28:52 +02:00
hide1202
53f4383555
Remove goto statement in NetPeer.Internal.
2015-10-04 10:01:24 +09:00
Michael Lidgren
69618284a6
GetSetMethod instead of SetMethod
2015-09-27 10:55:09 +02:00
Michael Lidgren
6570c44fa0
Merge branch 'master' of https://github.com/lidgren/lidgren-network-gen3
2015-09-27 10:52:15 +02:00
Michael Lidgren
1c1fc902f3
misc fixes
2015-09-27 10:51:53 +02:00
Michael Lidgren
2f0477e6bf
Now sets NeedFlushSendQueue whenever a stored message exists in any channel
2015-09-25 10:20:12 +02:00
Marius Ungureanu
ba35bfc624
Use UTF8 instead of ASCII decoding for heartbeats
2015-09-18 06:20:10 +03:00
Michael Lidgren
c42b885e1f
don't take double lock unnecessarily
2015-09-07 09:44:11 +02:00
lidgren
1d0ee4709a
Merge pull request #34 from adeadrat/add-license-file
...
Added license for clarity
2015-09-06 11:14:35 +02:00
lidgren
d1390ce7ef
Merge pull request #35 from Therzok/fixes
...
Different fixes caught by coverity
2015-09-06 11:14:20 +02:00
lidgren
3efc6de807
Merge pull request #36 from Therzok/fixAndroidBuild
...
Fix Android build by adding missing namespace.
2015-09-06 10:58:30 +02:00
Marius Ungureanu
a81fe225f5
Fix Android build by adding missing namespace.
2015-09-05 12:36:42 +03:00
Marius Ungureanu
15a9a97ffb
Refactor NetPeer.Connect code to throw on non-resolvable address.
2015-09-05 10:56:17 +03:00
Marius Ungureanu
2d1f9a4b91
Fix data race in NetPeerStatistics.BytesInRecyclePool
2015-09-05 10:52:23 +03:00
Marius Ungureanu
0f9ca1d106
Fix data race in Capacity/Count of NetQueue.
2015-09-05 10:50:25 +03:00
Marius Ungureanu
afbe41bb6d
Fix possible leak in NetUPnP.ExtractServiceUrl.
2015-09-05 10:50:22 +03:00
Marius Ungureanu
30b58c2098
Fix possible leak in NetUPnP.SOAPRequest.
2015-09-05 10:49:59 +03:00
Marius Ungureanu
d8ff2c9d31
Fix possible NullArgumentException throw by using a null return.
2015-09-05 10:49:25 +03:00
Marius Ungureanu
2d9a1a1afa
Fix copy-paste error in NetConnectionStatistics.
2015-09-05 10:29:40 +03:00
Jimmy Nilsson
32cdd3faeb
Added license for clarity
2015-08-22 14:52:07 +02:00
lidgren
e9d0c08850
Merge pull request #31 from zsebastian/master
...
Fixed sublte bug in ReadUInt64(int) and PeekUInt64(int)
2015-08-04 13:46:45 +02:00
Sebastian Zander
f17202fdc5
Bug in Read/Peek for UInt64 with numberBits over 32 fixed.
2015-08-04 11:11:28 +02:00
Sebastian Zander
754f33448e
Added test that breaks when using PeekUInt64(int maxBits).
...
There's a bug in this function, as well as in ReadUInt64(int maxBits),
when trying to read more than 32 bits (and the value uses more than 32
bits).
2015-08-04 11:11:03 +02:00
lidgren
2a0027ec91
Merge pull request #28 from MichaelDePiazzi/upnp-timeout
...
UPnP discovery timeout
2015-07-27 10:30:20 +02:00
MichaelDePiazzi
1560ba75d8
fix: UPnP discovery response did not time out
2015-07-27 14:28:59 +08:00
lidgren
1a8da2e00c
Merge pull request #27 from joshjje/master
...
Added missing readonly properties to NetConnectionStatistics for sent…
2015-07-09 10:09:33 +02:00
Joshjje
bbd026e459
Added missing readonly properties to NetConnectionStatistics for sent/received/dropped message counts.
2015-07-05 19:22:18 -04:00
Michael Lidgren
387f786950
Fixed number of fragments statistics, fixed dropping duplicates for early received reliable unordered messages, added dropped messages statistics
2015-06-09 14:10:28 +02:00
Michael Lidgren
d111197edb
Typo fixed
2015-06-04 21:40:34 +02:00
Michael Lidgren
a5122044e8
Merge branch 'master' of https://github.com/lidgren/lidgren-network-gen3
2015-06-04 21:36:53 +02:00
Michael Lidgren
a4240c914b
Fixed intermediate status messages not being outputted using StatusChanged messages
2015-06-04 21:36:19 +02:00
lidgren
624c344e4a
Merge pull request #22 from RevenantX/fixes
...
Constrained platform fix.
2015-05-25 16:32:07 +02:00