Commit Graph

124 Commits

Author SHA1 Message Date
Lynix aff617f147 Network: Replace some String by std::string 2020-07-25 14:32:53 +02:00
Lynix 3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Lynix 518b8697de Network/ENetHost: Add AllowsIncomingConnections method 2020-02-01 16:36:05 +01:00
Lynix 0b825680de Network/ENetPeer: Reduce memory usage 2019-12-29 11:56:13 +01:00
Lynix 24cb8f6845 Add ENet::GetTotalPacketReceived 2019-12-29 11:54:00 +01:00
Lynix 56243f5a12 Nazara/Network: Add GetTotalByte[Received|Sent] 2019-12-28 17:31:21 +01:00
Jérôme Leclercq 853e01c192 Enet fixes (#200)
* Network/ENet: Fix UnreliableFragment flag

* Network/ENet: Match libenet new behavior on DisconnectLater
2019-03-20 17:12:34 +01:00
Lynix a292e47673 Network/ENetPeer: Fix return type of GettotalPacket[Lost|Sent] 2018-10-24 20:26:50 +02:00
Lynix 4e9d4c10da Network: Add accessors to ENetHost/ENetPeer 2018-10-21 13:52:14 +02:00
Lynix 67c56b2aba Network/TcpClient: Add PollForConnected 2018-10-01 23:04:53 +02:00
Lynix dad2dbae1c Network/TcpClient: WaitForConnected now returns new socket state 2018-10-01 22:38:20 +02:00
Lynix 8091e52348 Forgot to save this file 2018-09-30 18:07:38 +02:00
Lynix 583393acd0 Network/AbstractSocket: Replace OnStateChange signal by OnStateChanged 2018-09-30 18:04:49 +02:00
Jérôme Leclercq 706a06b506 Increase NetPacket size from UInt16 to UInt32 2018-09-25 15:51:45 +02:00
Jérôme Leclercq b6a33c76ca Fix crash on moving empty NetPacket 2018-09-25 14:53:49 +02:00
Jérôme Leclercq bb0456ffed Remove useless namespace prefix 2018-07-02 17:48:51 +02:00
Jérôme Leclercq 56b23a2f27 Network/SocketPoller: Wait() now returns the number of active sockets, and optionally the last error
It will also ignore the EINTR error on Linux
2018-06-12 14:31:49 +02:00
Jérôme Leclercq 15f84dc712 Noexcept all the things! 2018-06-12 11:37:44 +02:00
Lynix b22c93fa5f Network/ENetPeer: Add GetLastReceiveTime 2018-05-13 14:44:09 +02:00
Lynix 715729fc02 Network: Add support for dual-stack sockets 2018-04-01 20:48:50 +02:00
Jérôme Leclercq 457a87d067 Network/ENet: Fix ENetCompressor destructor not being virtual 2018-03-20 17:12:42 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +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 3589a2bc8e Core/Flags: Reworked Flags class 2017-11-21 12:26:22 +01:00
Lynix f2506ee918 Network/ENetHost: Fix service time precision 2017-11-20 21:04:50 +01:00
Lynix be38aee1fa Fix some warnings 2017-10-18 22:02:21 +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
Lynix 2cd9fa2b7a Core: Add MovablePtr class 2017-09-30 13:57:25 +02:00
Jérôme Leclercq cc4fdf2476 Network/ENet: Add compressor support 2017-09-22 15:22:43 +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 b4732d8c17 Add Udp::ReceiveMultiple method 2017-07-11 12:11:20 +02:00
Jérôme Leclercq b2e23cfb56 Mark every bool conversion as explicit 2017-06-21 18:10:46 +02:00
Lynix c98fb482e7 Network/ENetPeer: Add GetRoundTripTime method 2017-06-05 15:06:19 +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 555f44edeb Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-19 16:32:07 +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 09bace0f28 Sdk/LuaBinding: Bind UdpSocket 2017-05-18 11:44:28 +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
Jérôme Leclercq 218d9f3974 Network/ENetHost: Add GetBoundAddress() 2017-02-21 15:58:02 +01:00
Lynix b0d0a63fca Network/ENet: Add peer-side lag simulation 2017-02-20 23:37:31 +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 b7ee6d7b29 Network/ENet: Move all packet allocation to host 2017-02-16 23:26:00 +01:00
Jérôme Leclercq dee5986de5 Network/NetPacket: Allow empty pointer for NetPacket creating (won't initialize memory) 2017-02-16 16:14:24 +01:00
Lynix 8225ad3b41 Network/ENetHost: Optimize acknowledgements handling 2017-02-15 08:27:15 +01:00
Lynix 890b06bfcb Network/ENet: Refactor 2017-02-15 08:26:56 +01:00
Lynix 5655ff3fcf Network/ENetPacketFlags: Add Unreliable flag typedef for zero 2017-02-12 02:19:27 +01:00