async TCP accept

Frank Muller <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAFA6GnAKp+pvGK7FiTU=PPZ7HGsZ8F_m0YFtQ87213tS+-hz2g@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.