Yongxing Wang wrote:
If not implicitly covered in the case of "more than one complete message in a single buffer", we also need to deal with the case where "a sing buffer contains several complete messages AND an incomplete one".
if fact, all the cases are listed here : * a buffer with an incomplet message * a buffer with a message, nothing less, nothing more * a buffer with N complete messages, nothing more * a buffer with N complete messages, and some extra bytes. -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
