|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: null termination of keysOn Tue, 4 Jun 2002, Julian Satran wrote: > Bob, > > The reason it was put in is to to enable "parsing" without the C bit. > With key spanning PDUs before having the C bit the sender had to avoid > sending a 0 if this was the last byte of the PDU as he had no other means > of signaling continuation. A 0 at the end of a PDU meant end-of-LTDS. > > Now that we have the C bit we can live with or without having a 0 at the > end of the last PDU. > Let's hear some more voices. As a C/C++ programmer, I really like the idea of having 0s at the end of a key/value pair. I agree with Bob that having key/value pairs terminated by NULs is easier. Take care, Bill
Home Last updated: Tue Jun 04 15:18:38 2002 10500 messages in chronological order |