async TCP accept

Frank Muller frank.muller.erl@REDACTED
Tue May 18 20:44:24 CEST 2021

Hi guys

I'm trying to port my TCP server to Erlang 24.

It uses the undocumented prim_inet:async_accept/2 call as in this example:

Using Erlang 24 and enabling the new option "-kernel inet_backend socket",
the call fails with: no match of right hand side value {error,einval}

How can I implement an async TCP server now?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list