Pieter-Jan Briers
e77fa444a1
Improve multi-target csproj.
...
1. Added a reference to Microsoft.NETFramework.ReferenceAssemblies so that the project can be built hassle-free on .NET Core.
2. Use the AssemblyInfo.cs from the existing code and disable automatic AssemblyInfo generation (to avoid clash).
3. Dropped target for net40. The regular Framework project file didn't support it either and it doesn't build due to a missing API (MapToIPv6).
2020-02-15 00:40:17 +01:00
Michael Lidgren
78df229a1b
Merge pull request #133 from aienabled/master
...
Fixed an issue #132
2019-12-24 21:29:38 +01:00
Vladimir Kozlov
bbf05b991b
Fixed an issue #132 (Incorrect network messages/malformed packets could easily overwhelm the server). NetPeer.Heartbeat() method will no longer prematurely return from the method in case of encountering an incorrect packet.
2019-12-24 23:43:52 +04:00
Michael Lidgren
c18c8b9632
Merge pull request #126 from Badartefact/master
...
Fixed bugs after introducing IPv6 dual mode
2019-06-15 00:07:26 +02:00
Badartefact
b9bfbb0be5
Fixed problem with setting correct local address when we change DualStack property. Do not use any IPv6 features by default.
2019-06-14 22:39:29 +03:00
Badartefact
37cd6ac2c3
Fixed null ref exception. Fixed problem with wrong ip address.
2019-06-14 12:13:14 +03:00
Michael Lidgren
d577f874a9
Merge pull request #123 from CallumDev/master
...
Implement IPv6 Dual Mode Mk. 2
2019-06-09 21:54:09 +02:00
CallumDev
85ad100f89
Can configure to be dual-mode, or plain IPv4/6
2019-06-10 02:28:38 +09:30
CallumDev
1a2301ddbc
Implement IPv6 Dual Mode
2019-05-03 03:20:58 +09:30
Michael Lidgren
42693bdb6e
Merge pull request #118 from nekoniaow/StatusFix
...
Fix: Connection.Connect() now correctly updates the Connection.Status…
2019-02-27 10:31:42 +01:00
Laurent Giroud
14d15b0f9c
Fix: Connection.Connect() now correctly updates the Connection.Status property when needed.
...
Previously, it would never update it, even when users had opted to not receive status update change messages.
It now properly calls SetStatus() instead of modifying the m_status field directly.
2019-02-20 14:54:07 -05:00
Michael Lidgren
d3458db59c
Merge pull request #113 from mudcrab2142/master
...
Fix enqueuing unreliable packets with disabled flow control
2019-01-24 23:35:52 +01:00
viacheslav.butkovskyi
c04204d012
Fix NetUnreliableSenderChannel enqueuing packets when SuppressUnreliableUnorderedAcks enabled in configuration
2019-01-23 11:58:51 +02:00
lidgren
f9a56e4325
global mutex on bind added
2018-10-20 10:53:23 +02:00
lidgren
e26203f652
Merge pull request #106 from chrisnobrega/master
...
Fixed NetServer missing SendToAll override with sequence channel parameter
2018-10-20 10:43:41 +02:00
lidgren
a8d1105d70
Merge pull request #108 from SimonHartfield/Feature/separate-portforwarding-internal-external-ports
...
Allow different internal and external ports on port forwarding
2018-10-05 00:01:51 +02:00
Simon Hartfield
0e9da42ce0
Allow separate internal and external ports on port forwarding
...
Rename property on delete forwarding function
2018-10-04 21:08:08 +01:00
chrisnobrega
14df22ff9a
Fixed NetServer missing SendToAll with sequence channel parameter
2018-08-30 22:59:04 -04:00
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