This is our old Q&A Site. Please post any new questions and answers at

Hello all Recently I was asked to dissect some customer protocols with lua.There are two customer protocols named A and B.Protocol A was built over TCP while B was built over A. The problem is that each of them could be fragmented and resembled, A could be fragmented by TCP,B could be fragmented by A,which makes me almost go crazy .So,can someone can help me? thanks a lot!!!

asked 19 Jun '15, 02:38

DavidNorth's gravatar image

accept rate: 0%

What is the format of the "A" protocol - in particular, does it have a length field at a fixed location, hopefully somewhere early on in its format? If so, getting it to be reassembled is fairly easy. If not, then it's harder. But the answer to that affects the answer to the whole thing, so we need to know that before getting into the rest of it.

(27 Jun '15, 17:21) Hadriel
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 19 Jun '15, 02:38

question was seen: 653 times

last updated: 27 Jun '15, 17:21

p​o​w​e​r​e​d by O​S​Q​A