Liste des Groupes | Revenir à cl c |
Am 29.04.2024 um 22:33 schrieb Chris M. Thomasson:I never used ASIO. Back when I wrote server code for WinNT 4.0 I used IOCP directly. Then I learned about AIO, and ported most of it. It was a fairly interesting port. I love the GetQueuedCompletionStatusEx function:On 4/29/2024 1:29 PM, Lawrence D'Oliveiro wrote:Boost.ASIO does that all for you with a convenient interface.On Mon, 29 Apr 2024 19:13:09 +0300, Paavo Helde wrote:>
>Just for waiting on thousands on sockets I believe a single select()>
call would be sufficient ...
We use poll(2) or epoll(2) nowadays. select(2) is antiquated.
AIO on Linux, IOCP on windows.
If enabled it even uses io_uring or the Windows' pendant.
Les messages affichés proviennent d'usenet.