[erlang-questions] PATCH for genericised TCP-socket packet parsing
Thomas Lindgren
thomasl_erlang@REDACTED
Mon Feb 11 09:43:54 CET 2008
--- Tony Garnock-Jones <tonyg@REDACTED> wrote:
> Hi all,
>
> Tony Garnock-Jones wrote:
> > How difficult might it be to support, in the C
> inet runtime, a new kind
> > of {packet, N} option for sockets, [...]
>
> The answer is: given a bit of digging, not too
> difficult. See attached
> patch, which is against R12B-0, and which implements
> a new TCP socket option
>
> {gen_packet, SizeLength, SizeOffset, SizeDelta}
I haven't tried it yet, but I like the idea.
Best,
Thomas
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the erlang-questions
mailing list