Commit Graph

173 Commits

Author SHA1 Message Date
Jérôme Leclercq
b93320613e Network/Windows: MinGW compatibility fix 2018-01-26 15:41:01 +01:00
Jérôme Leclercq
2bef737dc6 Network/ENetPeer: Fix indent 2018-01-05 15:39:47 +01:00
Jérôme Leclercq
98a03cb543 Network/SocketPoller: Fix potential bug on Connect (Posix) 2018-01-05 15:39:35 +01:00
Jérôme Leclercq
192321b448 Network: Fix uninitialized values (found by valgrind) 2017-12-13 12:55:03 +01:00
Jérôme Leclercq
503378ed47 Try some black magic 2017-12-04 16:22:01 +01:00
Lynix
f2506ee918 Network/ENetHost: Fix service time precision 2017-11-20 21:04:50 +01:00
Lynix
683b09144d Core: Replace StackAllocation by StackArray
This will cleanup alloca usage a little bit
2017-10-14 18:04:16 +02:00
Jérôme Leclercq
46e684c275 Network/ENetHost: Fix compression callbacks 2017-10-10 21:52:32 +02:00
Jérôme Leclercq
3282534bba SocketPoller: Fix behavior on Windows and BSD 2017-10-10 21:52:31 +02:00
Jérôme Leclercq
874599fefd Network/SocketPoller: Uniformize behavior accross platforms
On Windows, a closed connection will mark as ready for read/write
2017-10-10 21:52:30 +02:00
Gawaboumga
bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00
Jérôme Leclercq
cc4fdf2476 Network/ENet: Add compressor support 2017-09-22 15:22:43 +02:00
Lynix
9a6b007e70 Network/ENetHost: Fix crash 2017-09-16 10:47:00 +02:00
Jérôme Leclercq
c211abd977 Network/ENetHost: Fix typo 2017-09-14 14:12:32 +02:00
Jérôme Leclercq
5915b6ce3a Network/ENetHost: Fix error when using ENetHost without listening 2017-09-01 15:24:42 +02:00
Jérôme Leclercq
e37a7ad5fd Network/ENetHost: Dismiss external peer connection if listen address is loopback 2017-09-01 15:22:27 +02:00
Jérôme Leclercq
3d368b2fe7 Network/SocketPoller: Fix behavior of Wait method (-1 will block) 2017-08-04 13:37:17 +02:00
Jérôme Leclercq
aac8d8301b Network: Fix Linux build 2017-07-11 12:19:11 +02:00
Jérôme Leclercq
394f0bc730 Network/ENetHost: Fix hostname resolve 2017-07-11 12:12:38 +02:00
Jérôme Leclercq
cbcfa5cb4d Network/ENet: Fix throttle bug 2017-07-11 12:12:12 +02:00
Jérôme Leclercq
9fb9289d6e Network/Socket: Fix IPv6 handling 2017-07-11 12:11:43 +02:00
Jérôme Leclercq
b4732d8c17 Add Udp::ReceiveMultiple method 2017-07-11 12:11:20 +02:00
Jérôme Leclercq
2ca844be63 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-06-21 18:10:51 +02:00
Jérôme Leclercq
b2e23cfb56 Mark every bool conversion as explicit 2017-06-21 18:10:46 +02:00
Lynix
bb512ff17a Network/SocketPoller: Fix IsReadyTo* on Windows Vista+ 2017-06-20 20:50:39 +02:00
Lynix
dc28a9161b Network/TcpClient: Fix Send hanging when used in non-blocking mode 2017-06-20 06:57:59 +02:00
Jérôme Leclercq
17d9cd6e7d Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-06-01 17:25:33 +02:00
Jérôme Leclercq
8752d1e0f4 Network: Add ErrorToString for ResolveError/SocketError 2017-06-01 17:25:21 +02:00
Lynix
53f865c42c Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here 2017-05-19 16:31:31 +02:00
Lynix
3ca179b954 Network/ENet: Separate Connect event into OutgoingConnect and IncomingConnect 2017-05-19 16:31:29 +02:00
Jérôme Leclercq
3b7881ebfe Network/SocketPollerImpl: Fix possible weird behavior with SocketPoller 2017-05-17 11:30:18 +02:00
Jérôme Leclercq
ba24181fd6 Network/SocketPollerImpl: Fix possible weird behavior with SocketPoller 2017-05-17 11:29:55 +02:00
Jérôme Leclercq
e4a9d73942 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-16 10:09:20 +02:00
Jérôme Leclercq
1cdac50af2 Network/SocketPoller: Fix RegisterSocket on Windows 2017-05-16 10:09:09 +02:00
Lynix
d516b0907b Network/ENetHost: Fix usage of SocketPoller 2017-05-16 09:11:02 +02:00
Lynix
9a30a7ee04 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-16 09:08:37 +02:00
Lynix
65d3b59e03 Network/SocketPoller: Makes it possible to watch read and write states 2017-05-16 09:07:28 +02:00
Lynix
a4fe005e3b Network/ENetPeer: Fix packets not being resend after timeout sometimes 2017-03-08 22:40:15 +01:00
Lynix
1917a0e8dd Network/ENetPeer: Fix fragments handling 2017-03-08 21:06:09 +01:00
Lynix
b2e4296cc7 Network/ENetHost: Fix peers default values not being initialized 2017-03-08 21:05:56 +01:00
Jérôme Leclercq
0393eb408b Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-08 13:25:28 +01:00
Jérôme Leclercq
b0d61802b6 Network/SocketPoller: Fix documentation 2017-03-08 13:17:04 +01:00
Lynix
f2fb0f62c2 Switch ENet errors to Nazara 2017-03-02 16:18:34 +01:00
Lynix
14022ccee2 Network/ENetPeer: Fix crash 2017-02-24 10:15:13 +01:00
Jérôme Leclercq
a53a916399 Network/ENetHost: Fix simulation being always active 2017-02-21 16:55:05 +01:00
Lynix
b0d0a63fca Network/ENet: Add peer-side lag simulation 2017-02-20 23:37:31 +01:00
Jérôme Leclercq
cc57fed42e Network/ENetPeer: Fix crash 2017-02-17 17:30:27 +01:00
Lynix
490f6becb2 Fix compilation...
That parenthesis probably didn't make it to GitHub, damn you packet
losses!
2017-02-16 23:37:28 +01:00
Lynix
20dfd61ad7 Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here 2017-02-16 23:26:33 +01:00
Lynix
e0dca1b043 Network/ENetPeer: Optimize CheckTimeouts function 2017-02-16 23:26:28 +01:00