Commit Graph

43 Commits

Author SHA1 Message Date
SirLynix 22f58fdbf5 Add stream buffering (WIP) 2022-04-09 18:22:57 +02:00
Jérôme Leclercq 3c308970a1 Minor fixes 2022-01-23 01:22:16 +01:00
Jérôme Leclercq 2ebcddf9de Core/CallOnExit: Rework to use template instead of std::function 2022-01-23 00:16:09 +01:00
SirLynix 89c7bbf197 Update copyright date 2022-01-01 15:30:09 +01:00
Jérôme Leclercq a02b1952c0 Apply header order fix 2021-10-28 09:53:56 +02:00
Jérôme Leclercq ed7ab31933 Apply copyright fix to all files 2021-10-26 14:31:35 +02:00
Jérôme Leclercq 4b3b595a99 Minor fixes 2021-06-04 18:02:28 +02:00
Jérôme Leclercq 874fb3542e Convert all remaining enums to enum classes (!) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq 2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Jérôme Leclercq a28635ec70 Merge pull request #326 from DigitalPulseSoftware/vulkan
Add OpenGL / Vulkan renderers
2020-08-27 18:38:21 +02:00
Lynix aff617f147 Network: Replace some String by std::string 2020-07-25 14:32:53 +02:00
Lynix c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix aa9bec6e5e Network/TcpClient: Revert to previous behavior on failure 2018-10-01 23:05: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 13a515c1b5 Network/TcpClient: WaitForConnected now closes the socket on failure 2018-10-01 22:19:49 +02:00
Jérôme Leclercq 706a06b506 Increase NetPacket size from UInt16 to UInt32 2018-09-25 15:51:45 +02:00
Lynix dc28a9161b Network/TcpClient: Fix Send hanging when used in non-blocking mode 2017-06-20 06:57:59 +02:00
Lynix ab3b730d21 Network/TcpClient|UdpSocket: Add SendMultiple method
To efficiently merge multiples buffers into a reduced number of network
packets
2017-01-27 14:51:01 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Jérôme Leclercq e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix 87437e80af Network/TcpClient: Fix empty packets being received with an invalid netcode
Former-commit-id: e2485cc722c8baab43b78745af697536e996d1b3 [formerly c5396e006fda4a2c6e8afeb165c295312e35820d] [formerly 8810c67dd016aa11af2f81709a1047ac94f744c7 [formerly d53cab8d579848e02393b4c3c924e48c484d27eb]]
Former-commit-id: 162f4e2a61ef51475ff0738d0cd3e1a5dfc44419 [formerly 00a51644441eea646fb9ac03bdc4885283460a0c]
Former-commit-id: e5387fa08d184a34bac529da305c396ff2a85cf1
2016-09-25 02:41:57 +02:00
Lynix 19a6eee044 Network/TcpClient: Fix error when receiving an empty packet
Former-commit-id: 653a77b0b059968600777e89c02144d8a3e55cf3 [formerly 338bed3ccd44ad4a683e90cd1b99598660c47048] [formerly 8136c65b123704f0243edd20558ea19d636d2127 [formerly 4c158ec5ee63b97c1d9a828f4088a2f1908f3a32]]
Former-commit-id: b8491dc53c5792acadb2f9f6479e9aaec472ae05 [formerly 79127a86db6256fc749591c59663fbe7cbaddc37]
Former-commit-id: 2621271910cefb53cfd612cd8246af2e10ef4bd8
2016-09-25 01:43:02 +02:00
Gawaboumga 0a99058c4d Documentation for module: Network
Former-commit-id: d36042138d0883eb118cc9a70f94f3522214dd46
2016-05-30 14:22:31 +02:00
Lynix a31a969409 Replace useless reinterpret_cast by static_cast
Former-commit-id: f61d644d968d4fe9523a5cd122e11525a9c2765d
2016-04-07 04:20:18 +02:00
Lynix 9d4256a4d2 Network/TcpClient: Fix disconnection of previous connection not happening with IP connection
Former-commit-id: 3ec17a6c56ee3f0aae7f66f78766f15d7a168f32
2016-02-24 14:19:03 +01:00
Lynix 08caff5ea3 Network: Add support for sending/receiving NetPacket over UDP/TCP
Former-commit-id: 5c09a5fa8b499e4204d2312f6d04d8554093a5a4
2016-02-04 14:51:26 +01:00
Gawaboumga 1d04ac8f13 First implementation of Posix Network
Former-commit-id: 2b73870d8eef4dc92038224164396390ac43df46
2015-12-30 15:20:07 +01:00
Lynix 4721bf80c3 Network/TcpClient: Make TcpClient a Stream
Former-commit-id: 2176748166ae84b609d5a336495e6ff3550a765d
2015-11-23 18:22:12 +01:00
Lynix e8aa649cfc Network/HostnameInfo: Replace family/socketType raw value by engine enumeration
Former-commit-id: 40adb7654b5a741c5fa12c1b866e3b427b1be5e9
2015-11-14 02:12:10 +01:00
Lynix 3a4acd9584 Network/TcpClient: Remove unreliable QueryState()
Former-commit-id: 75d61ca0d84150a278c168c81af4c755e8a74d91
2015-11-13 14:17:43 +01:00
Lynix a324f44901 Network/TcpClient: Fix QueryState() when connection failed
Former-commit-id: 15824535922186c0601ade8bfbbe76866b7cd5ff
2015-11-13 14:01:36 +01:00
Lynix 5325513bd8 Network/TcpClient: Allow configuration before connection
Former-commit-id: 65c81f994ae5b9e9cce0132e2a86b1918879b24f
2015-11-13 14:01:18 +01:00
Lynix a9611680e7 Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 4962dac67b404140813e143a12d5577478d8a044
2015-11-12 22:08:50 +01:00
Lynix b77c50fe58 Network/TcpClient: Fix peer address not updated if Connect() fails
Former-commit-id: 1c8f9d5e20f6266d40233e7ad0ecf7b12fee0127
2015-11-12 14:54:47 +01:00
Lynix 81221fbf0b Network/TcpClient: Fix LowDelay
Former-commit-id: 70fc4224ae7f8913e27a3a3cf234500db262f73c
2015-11-12 13:19:21 +01:00
Lynix 5d6e6b2d45 Fix errors and warnings
Former-commit-id: a3ba309633f198f82c1d0277d750d867cad4ba44
2015-11-12 00:29:10 +01:00
Lynix a26c979d84 Network/TcpClient: Add Connect overload resolving hostname
Former-commit-id: 5c667a14c591e4e9cb898a8d4c83fedf161179fd
2015-11-10 14:45:59 +01:00
Lynix fd09cdbf1e Network/TcpClient: Replace Connect overload by WaitForConnected method
Former-commit-id: 11ff81ea975f79a51f6342a9a574a23d18c0180f
2015-11-10 13:55:42 +01:00
Lynix 5f0aa64555 Network/TcpClient: Fix clients from TcpServer state
Former-commit-id: 39d0884471fb2b0d6a8a12634b26a2f5da894a58
2015-11-10 12:47:33 +01:00
Lynix 2efaa9dad6 Network/Socket: Rename ChangeState to UpdateState
Former-commit-id: 96f1909e002c0d1bc7a3ebd173fae799b6ba4770
2015-11-10 12:19:03 +01:00
Lynix 2a70758f08 Network: Get rid of now useless TcpBase
Former-commit-id: 5a682d6d58cc5e2b8bea19dbfc9acb1133b35337
2015-11-10 12:14:59 +01:00
Lynix 1bbf038cc6 Network: First commit
Former-commit-id: ec8697acc51569f5043e4f70e4cf42f1c5dc487c
2015-11-09 15:02:25 +01:00