what about little-endians?

Jim Morris <>
Fri Mar 12 23:14:06 CET 2010


I wrote a blog post on solving this exact same problem.

http://blog.wolfman.com/articles/2009/4/13/dealing-with-an-tcp-packet-with-a-little-endian-header-in-erlang-gen-tcp

I looked at changing get_tcp to fix it, but big-endian packet counts
is very ingrained, and would be a hard fix.

On Mar 12, 11:45 am, Camilo Cerchiari <>
wrote:
> i'm ok with writing it just for myself, if it would be so.
> some advice to get started with the code is then what i'm looking for.
> where should i start?
>
> On Fri, Mar 12, 2010 at 17:20, Max Lapshin <> wrote:
> > I think, you will be refused for this feature, because big-endian is
> > standard for network transmission.
> > In this case you will have to write your own buffered demuxer.


More information about the erlang-questions mailing list