Future plans for "async socket accept"?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Future plans for "async socket accept"?

Loïc Hoguin-3
Hello,

There is an undocumented method that allows users to accept new
connections asynchronously (prim_inet:async_accept then a few extra
calls after receiving the socket). This has been used by many people in
the past and we're going to look into using it for Ranch/Cowboy.

I wonder if it will remain in some form once the network code is moved
to use NIFs/dirty schedulers?

Thanks,

--
Loïc Hoguin
https://ninenines.eu
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions