[erlang-patches] What's cooking in erlang/otp (2010-03-22)

Dennis Novikov dennis.novikov@REDACTED
Tue Mar 23 13:03:59 CET 2010


On Tue, Mar 23, 2010 at 1:56 PM, Max Lapshin <max.lapshin@REDACTED> wrote:
> I really don't understand what is the problem to export on some TCP
> port custom server, that read {packet, 4} messages,
> decode them via binary_to_term and takes all logic of authentication
> and executing commands.
>
> The only problem is lack of function binary_to_term_with_existing_atom

Only if you have to stick with R12. R13 has
erlang:binary_to_term(Binary, [safe]) exactly for that purpose.

--
WBR,
  DN


More information about the erlang-patches mailing list