aakash-sahai / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Clarify documentation regarding streams #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add a note that the stream read callbacks should always read the specified 
number of bytes, unless there is error or EOF. For example recv() needs the 
MSG_WAITALL parameter, as used in the example.

Original issue reported on code.google.com by Petteri.Aimonen on 14 Jul 2012 at 3:04

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 440da6959f36.

Original comment by Petteri.Aimonen on 24 Aug 2012 at 6:33