lidgren
d0931dcf9f
Merge pull request #99 from conatuscreative/netcore
...
additive-only multi-targeting support (.net 4.0 -> .net core 2.0)
2018-05-03 20:26:45 +02:00
Daniel Crenna
bbe38c064a
add multi-targeted SLN (.net 4.0, .net 4.5, .net 4.6, .net 4.6.1, .net 4.6.2, .net standard 2.0) and unit tests (.net 4.6 and .net core 2.0)
2018-05-03 01:40:01 -04:00
lidgren
c81cbb839e
Merge pull request #95 from RevoluPowered/patch-1
...
Update README.md
2018-02-22 21:19:45 +01:00
Gordon MacPherson
c114a7e7ed
Update README.md
2018-02-22 17:22:20 +00:00
lidgren
cf976b8566
Merge pull request #91 from RevoluPowered/master
...
Memory Allocation fixes, MacOS platform bug on mono fixed
2018-01-06 19:02:14 +01:00
Gordon Alexander MacPherson
0249d92acb
Merge branch 'master' of github.com:lidgren/lidgren-network-gen3
2018-01-06 16:13:41 +00:00
Gordon Alexander MacPherson
94c9d502bd
fixed project not opening in visual studio 2017
2018-01-06 15:54:21 +00:00
Gordon Alexander MacPherson
dcc067090e
fixed git ignore not ignoring visual studio folders properly for newer versions
2018-01-06 15:53:32 +00:00
lidgren
da7b4b8042
Merge pull request #90 from CallumDev/patch-1
...
Fix sending broadcast packets
2017-12-06 23:24:57 +01:00
Callum
259822fc24
Fix sending broadcast packets
...
The `==` operator for IPAddress compares references not values, so `target.Address` will always not equal `ba`. Switching to `IPAddress.Equals` fixes this and allows broadcast packets to be sent on Linux.
2017-12-06 13:39:56 +10:30
Gordon MacPherson
ed0a3efe9f
updated project files to vs2017 and forced net framework 4.6.2
2017-11-16 14:09:52 +00:00
Gordon MacPherson
c455f260c7
Merge pull request #2 from forestrf/master
...
Less GC when reading floats and doubles thanks to a pool of byte[] + Removed a unnecessary array creation and destruction
2017-11-11 20:23:48 +00:00
Gordon MacPherson
293ea9681b
updated notes
2017-11-10 15:45:27 +00:00
Gordon MacPherson
85d24278ce
re-enabled travis
2017-11-10 15:35:14 +00:00
Gordon MacPherson
b696ecde1d
added some debug information for SIO_UDP_CONNRESET
2017-11-10 15:30:01 +00:00
RevoluPowered
9e5525711e
disable socket.IOControl(SIO_UDP_CONNECT) on unix but not windows
2017-11-10 14:52:45 +00:00
RevoluPowered
4c81cf3c03
disabled code causes crash on OSX, but not on linux even though it's not supporte on unix.
2017-11-10 15:13:17 +00:00
Andrés Leone
cc673f3364
Support for AOT
2016-08-26 17:46:50 +02:00
Andrés Leone
37d03863bb
Added a const variable to set the default size of the buffer array
...
Using the buffer with readstring
2016-06-25 21:28:04 +02:00
Andrés Leone
d14d3e0d2d
Avoid array duplication of an array that is not accesible.
...
Avoid extra array allocations with reads that require a byte array. (corrected with the comment of @Inverness)
2016-06-25 20:47:29 +02:00
lidgren
a7468f4f1c
Merge pull request #63 from fversnel/master
...
Added improved NAT punch.
2016-03-15 12:08:04 +01:00
lidgren
4e660c6748
Merge pull request #67 from boonkerz/patch-1
...
Fix Compile Error
2016-03-02 09:26:11 +01:00
boonkerz
80fc1edc6c
Fix Compile Error
2016-03-01 21:28:05 +01:00
lidgren
7831332569
Merge pull request #66 from fversnel/unity-netbuffer-fix
...
Unity netbuffer fix
2016-02-29 16:48:01 +01:00
Frank Versnel
ee5e9fb809
Converted to Windows line endings.
2016-02-29 16:45:16 +01:00
Frank Versnel
32ed1a91e9
Fixed compile error.
...
Removed misplaced static keyword.
2016-02-29 16:42:31 +01:00
Michael Lidgren
6594a4a41f
Unity serialization helpers by Frank Versnel
2016-02-29 16:19:19 +01:00
lidgren
98fb5b2df3
Merge pull request #64 from AgentFire/patch-2
...
Added `bool ReadMessage(out NetIncomingMessage message)`
2016-02-29 09:16:16 +01:00
AgentFire
f6a4bcc5b3
Added bool ReadMessage(out NetIncomingMessage message)
...
Added `bool ReadMessage(out NetIncomingMessage message)` for simplifying cases like this:
NetIncomingMessage msg;
while ((msg = NetClient.ReadMessage()) != null) { }
**into this**:
NetIncomingMessage msg;
while (NetClient.ReadMessage(out msg)) { }
2016-02-28 11:54:19 +03:00
Michael Lidgren
2a6470bd61
Merge branch 'master' of https://github.com/lidgren/lidgren-network-gen3
2016-02-25 07:35:18 +01:00
Michael Lidgren
38c1c60311
Fix for __CONSTRAINED__ and __ANDROID__
2016-02-25 07:34:39 +01:00
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