> EndMessage is far better than DataLength=0 - please lets stick with it. > DataLength=0 simply means there isn't a trailing field - does having a > DataLength=123 mean the same thing? This is just plain ugly, meaning that > (for no reason) DataLength has to be the last header. Keep the EndMessage.
EndMessage sounds simpler, but in reality, using datalength=0 is a more elegant solution. Doing so means the node receives that message, reads n bytes, where n might be 0, and then knows that message is complete. It has 1 exit point. _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
