Commit Graph

60 Commits

Author SHA1 Message Date
Jérôme Leclercq
cb1bc956b2 Network: Fix posix implementation 2022-02-24 18:28:41 +01:00
Jérôme Leclercq
6c35b0be57 Minor fixes 2022-02-05 21:30:36 +01:00
SirLynix
89c7bbf197 Update copyright date 2022-01-01 15:30:09 +01:00
Jérôme Leclercq
b98fd65a01 Fix a lot of small bugs/warnings 2021-12-25 20:07:53 +01:00
Jérôme Leclercq
a02b1952c0 Apply header order fix 2021-10-28 09:53:56 +02:00
Jérôme Leclercq
93ec196dc4 Apply header guard check 2021-10-26 15:52:46 +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
874fb3542e Convert all remaining enums to enum classes (!) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
031e52b63f Network: Fix compilation under Linux (fix merge) 2021-05-19 20:54:10 +02:00
Jérôme Leclercq
26de5872eb Merge branch 'master' into graphics-next 2021-05-17 18:58:04 +02:00
ImperatorS79
f05ed5781b IP_MTU missing on macos 2020-11-22 13:32:17 +01:00
ImperatorS79
d4cd0581e4 Update SocketImpl.cpp 2020-11-21 21:35:51 +01:00
ImperatorS79
255812c80e Fix missing MSG_NOSIGNAL and TCP_KEEPIDLE on macos 2020-11-21 21:29:23 +01:00
Jérôme Leclercq
f52c43df49 Network: Fix TcpClient::PollConnection on Linux 2020-10-31 17:33:56 +01:00
Jérôme Leclercq
2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Lynix
aff617f147 Network: Replace some String by std::string 2020-07-25 14:32:53 +02:00
Jérôme Leclercq
278ff26795 Forgot to fix this for Linux too 2019-04-24 14:29:55 +02:00
Lynix
34787d6766 Network/SocketImpl: Fix linux build 2018-10-01 23:10:25 +02:00
Lynix
67c56b2aba Network/TcpClient: Add PollForConnected 2018-10-01 23:04:53 +02:00
Jérôme Leclercq
56873b92b0 Network/Socket: Fix Connect (timeout) on Windows/Linux 2018-08-30 13:03:50 +02:00
Jérôme Leclercq
28c6bd7af7 Network: Log internal errors 2018-08-30 12:10:33 +02:00
Jérôme Leclercq
2fcea6b79f Core/StackArray: Moved StackArray class to its own header 2018-07-02 17:53:49 +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
33fb70b65b Network: Fix SocketPoller error handling 2018-05-31 16:08:46 +02:00
Lynix
63ee3ca8d4 Network/Socket: Fix IPv6 decoding on posix 2018-04-01 21:56:45 +02:00
Lynix
a5400f07c9 Network/Socket: Fix IPv6 encoding 2018-04-01 21:30:07 +02:00
Lynix
df510aeb78 Network/Socket: Fix broadcast & dual-stack on Posix 2018-04-01 21:01:13 +02:00
Lynix
eeba7f96a0 Fix compilation 2018-04-01 20:52:52 +02:00
Lynix
715729fc02 Network: Add support for dual-stack sockets 2018-04-01 20:48:50 +02: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
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
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
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
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
Lynix
65d3b59e03 Network/SocketPoller: Makes it possible to watch read and write states 2017-05-16 09:07:28 +02:00
Lynix
42d5f849f7 Network/SocketImpl: Okay, I promise to try to compile myself next time 2017-01-27 16:49:09 +01:00
Lynix
80442924c1 Network/SocketImpl: Fix code, once more 2017-01-27 16:43:54 +01:00
Lynix
7602b4a041 Network/SocketImpl: Fix typo 2017-01-27 16:37:16 +01:00
Lynix
31ebe5983e Network: Fix typo.. 2017-01-27 16:31:41 +01:00
Lynix
90237186b5 Network/SocketImpl: Fix missing include 2017-01-27 16:25:48 +01:00
Lynix
86ae60b6c2 Network: Fix compilation 2017-01-27 16:07:41 +01:00
Lynix
d8b7ff9fa6 Network/SocketImpl: Fix possible code errors (Posix) 2017-01-27 15:05:26 +01:00
Lynix
453ca77c1b Network/SocketImpl: Fix Send causing a SocketError_Internal status on non-blocking sockets 2017-01-27 15:05:04 +01:00
Lynix
002d33f590 Network/SocketImpl: Fix compilation 2017-01-27 14:55:37 +01: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