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:
http://erlang.org/pipermail/erlang-questions/2007-July/027845.html

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?

/Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210518/1f8ef309/attachment.htm>


More information about the erlang-questions mailing list