Commit Graph

25 Commits

Author SHA1 Message Date
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
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
Lynix 4c6f049e0d Fix another lot of warnings from Clang
Closes #90
Closes #91
Closes #92
Closes #93
2016-10-17 16:01:05 +02: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 48ef3f6b30 Network/SocketPoller: Fix poll implementation (Windows > Vista, Unix)
Former-commit-id: dd5517d6b15bdb2ed9be4f89ff06ddeeeb3fec30 [formerly 4aef580c50c04256503fbbdfe21924f0b97b6c09] [formerly 9d904c520de9a74292cc1af09b6a5b46617a1d49 [formerly d31432a7eb98825413abb0de333b6ceb9c2d400b]]
Former-commit-id: 362f4a43f24dce67763fe4978e34da74fbd39148 [formerly 93ca7cbcd7f3368f4ecd3fa87ed512a3b55faaba]
Former-commit-id: e147094e1a7c7540afb972a9ccd116d7444e0fea
2016-09-25 03:16:48 +02:00
Lynix 8a50b3ec0e Network/SocketPollerImpl: Fix compilation on POSIX
Yup, again.

Former-commit-id: c3209f14988c5fb21315a47952a71345db0bb016 [formerly 5b404d3bd4bdc3e42f9edd2735f4ee1a90b3ea58] [formerly 79e52d19202a56696c573a38f670176615249341 [formerly 0502a91d67d15b1cfc7c53c1b4cdfb46b86b843c]]
Former-commit-id: 88af57ddf2aac4d27ca9efb3bca979d5ce7b3a7a [formerly e5166f73aeee8823bfcc5e1ae2694750d94f8275]
Former-commit-id: 9597ca83c35be3e631ff1a5784880b69dfbeeab7
2016-09-22 18:45:12 +02:00
Lynix d7ae0c75ce Network/SocketPollerImpl: Fix compilation on POSIX
Thanks Travis CI!

Former-commit-id: 2cd53feae4b3932e5bf9e7c66255e6358a8d19d5 [formerly 9ba688db99ae881c295e5a8311abbdcccbd1157f] [formerly e5da0484598567ea44283080497f2a56e5fe5111 [formerly 4a290f7e5ba137e43cf64a93a7a2489adfb5dea5]]
Former-commit-id: 5c8bc90add749a1650d9b21e6672e19c2595d5b7 [formerly 4f9a5539c50af5307fbe6c78d3d71242c358fca6]
Former-commit-id: 0cd70283de3052441db90417ae96b0f90a421f87
2016-09-22 18:37:21 +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