Commit Graph

25 Commits

Author SHA1 Message Date
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
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 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 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 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
Jérôme Leclercq 311e2a545d Network/SocketPoller: Fix cases where EAGAIN is not the same as EWOULDBLOCK (Posix) 2017-01-25 15:54:13 +01:00
DrLynix 85f0208690 Newtork/AbstractSocket: Allow to specify receive and send buffer size per socket 2017-01-20 14:33:05 +01:00
Jérôme Leclercq 96a886260e Network: Fix compilation on Linux x86 (Fixes #81)
Former-commit-id: b9ee4a38914e101751907a0afd5bc4387c4cc595 [formerly fbd619850d74c3264eead6456950549a00445a48] [formerly 38aa0d99632748baef4bdbed948e97d3348fd7c3 [formerly 24dc3d90f246b8a437a6fc1ace1b3091fd0e8df9]]
Former-commit-id: 37cfa200c8effe1822e9e2c8dd3224f8d4138c9d [formerly 5a4fdb8f93bcef49702e73d3ca8c7f5a1be56716]
Former-commit-id: 3e444884880bb866d4b66b5d4531272a02ac4125
2016-10-08 20:55:00 +02:00
Lynix 9452b98f49 Network: Add SocketPoller class
Former-commit-id: 86b9266d904551d19e7ec8e8d6bbe5f137e8d29f [formerly 34575937d84f796cfe36a5ab97ea1f787c1506ba] [formerly 6c8c621523800958ad38eef118fcb3687c34b367 [formerly a1f1330fbe6f990a21bbe6dccfe727edec0e2b44]]
Former-commit-id: 6635c463a753f744b835267181b51ed89620b627 [formerly 14e84c7155cd669ac20a5492e67704059a442925]
Former-commit-id: 7becccdf2d8aac7cdf526d855215d7d144be284c
2016-09-22 18:16:39 +02:00
Lynix f723d6a29c Network: Replace unsigned int by size_t for size
Former-commit-id: efa7e2f50ae370f96871726be7906332ca8969a4
2016-02-04 13:27:06 +01:00
Gawaboumga 1d04ac8f13 First implementation of Posix Network
Former-commit-id: 2b73870d8eef4dc92038224164396390ac43df46
2015-12-30 15:20:07 +01:00