F
F
floppa3222020-10-15 18:35:23
C++ / C#
floppa322, 2020-10-15 18:35:23

Non-blocking asynchronous servers in c++?

Hello everyone
Can you tell me a server in C ++ with non-blocking I / O for the socket, so that you do not have to create 1 thread per connection? (preferably supported at the current time :) )
Analogs:

  • Java - Netty, Vertx;
  • Core Node.js

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Olohtonov, 2020-10-15
@Lite_stream

will boost::asio work?
https://www.boost.org/doc/libs/1_74_0/doc/html/boo...

O
OCTAGRAM, 2020-10-15
@OCTAGRAM

Not for C++, but CPC, continuation passing c may be of interest. There, in a synchronous style, you can write code that, through the meat grinder of lambda lifting, will be converted into asynchronous

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question